-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5fd8642
commit dd2d3f7
Showing
1 changed file
with
22 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,32 @@ | ||
version: 2.1 | ||
|
||
orbs: | ||
cfa: continuousauth/[email protected] | ||
jobs: | ||
test: | ||
docker: | ||
- image: cimg/node:14.21 | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "yarn.lock" }} | ||
- v1-dependencies- | ||
- run: yarn install --ignore-engines | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "yarn.lock" }} | ||
- run: yarn prettier:check | ||
- run: yarn test | ||
node: electronjs/[email protected] | ||
|
||
workflows: | ||
test_and_release: | ||
# Run the test jobs first, then the release only when all the test jobs are successful | ||
jobs: | ||
- test | ||
- node/test: | ||
name: test-<< matrix.executor >>-<< matrix.node-version >> | ||
override-ci-command: yarn install --frozen-lockfile --ignore-engines | ||
test-steps: | ||
- run: yarn prettier:check | ||
- run: yarn test | ||
use-test-steps: true | ||
matrix: | ||
alias: test | ||
parameters: | ||
executor: | ||
- node/linux | ||
- node/macos | ||
- node/windows | ||
node-version: | ||
- '20.5' | ||
- '18.17' | ||
- '16.20' | ||
- '14.21' | ||
- cfa/release: | ||
requires: | ||
- test | ||
|