-
Notifications
You must be signed in to change notification settings - Fork 16
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
491a7a3
commit b9cf213
Showing
5 changed files
with
3,324 additions
and
101 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 |
---|---|---|
@@ -0,0 +1,76 @@ | ||
step-restore-cache: &step-restore-cache | ||
restore_cache: | ||
keys: | ||
- v1-dependencies-{{ arch }}-{{ checksum "yarn.lock" }} | ||
- v1-dependencies-{{ arch }} | ||
|
||
commands: | ||
test: | ||
steps: | ||
- run: git config --global core.autocrlf input | ||
- checkout | ||
- *step-restore-cache | ||
- run: npx yarn --frozen-lockfile | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ arch }}-{{ checksum "yarn.lock" }} | ||
- run: npx yarn test | ||
|
||
version: 2.1 | ||
orbs: | ||
win: circleci/[email protected] | ||
jobs: | ||
test-linux-16: | ||
docker: | ||
- image: cimg/node:16.17 | ||
steps: | ||
- test | ||
test-mac: | ||
macos: | ||
xcode: "13.0.0" | ||
steps: | ||
- test | ||
# test-windows: | ||
# executor: | ||
# name: win/default | ||
# shell: bash.exe | ||
# steps: | ||
# - run: choco install wget -y | ||
# - run: | ||
# command: wget https://nodejs.org/dist/v16.17.0/node-v16.17.0-x86.msi -P C:\Users\circleci\Downloads\ | ||
# shell: cmd.exe | ||
# - run: MsiExec.exe /i C:\Users\circleci\Downloads\node-v16.17.0-x86.msi /qn | ||
# - run: | ||
# command: | | ||
# Start-Process powershell -verb runAs -Args "-start GeneralProfile" | ||
# nvm install 16.17.0 | ||
# nvm use 16.17.0 | ||
# - test | ||
|
||
release: | ||
docker: | ||
- image: cimg/node:14.20 | ||
steps: | ||
- checkout | ||
- *step-restore-cache | ||
- run: npx yarn | ||
- run: npx [email protected] | ||
workflows: | ||
version: 2 | ||
test_and_release: | ||
# Run the test jobs first, then the release only when all the test jobs are successful | ||
jobs: | ||
- test-linux-16 | ||
- test-mac | ||
# - test-windows | ||
- release: | ||
requires: | ||
- test-linux-16 | ||
- test-mac | ||
# - test-windows | ||
filters: | ||
branches: | ||
only: | ||
- main | ||
|
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"plugins": [ | ||
"@semantic-release/commit-analyzer", | ||
"@semantic-release/release-notes-generator", | ||
"@continuous-auth/semantic-release-npm", | ||
"@semantic-release/github" | ||
], | ||
"branches": [ "main" ] | ||
} | ||
|
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
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
Oops, something went wrong.