Skip to content

Commit

Permalink
ci: use electronjs/node orb (#156)
Browse files Browse the repository at this point in the history
  • Loading branch information
dsanders11 authored Apr 15, 2024
1 parent 1661c73 commit edc043d
Showing 1 changed file with 6 additions and 26 deletions.
32 changes: 6 additions & 26 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,11 @@
step-restore-cache: &step-restore-cache
restore_cache:
keys:
- v1-dependencies-{{ arch }}-{{ checksum "yarn.lock" }}
- v1-dependencies-{{ arch }}

steps-test: &steps-test
steps:
- checkout
- *step-restore-cache
- run: yarn
- save_cache:
paths:
- node_modules
key: v1-dependencies-{{ arch }}-{{ checksum "yarn.lock" }}
- run: yarn test

version: 2.1

orbs:
win: circleci/[email protected]
jobs:
test-linux-18:
docker:
- image: cimg/node:18.16.0
<<: *steps-test
node: electronjs/[email protected]

workflows:
version: 2
test_and_release:
build:
jobs:
- test-linux-18
- node/test:
executor: node/linux
node-version: "18.16"

0 comments on commit edc043d

Please sign in to comment.