-
Notifications
You must be signed in to change notification settings - Fork 76
ci: Replace CircleCI with GitHub Actions #759
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
832a17b
402c99a
5e452dd
7f9e61c
a647fd4
4f97af6
14fb0f4
cc321f9
50bd4a3
1841dd5
dad65f0
68169f9
0098def
54b36a4
a5aba9e
e43ec53
2443878
f2e0c6a
a8d45e1
847d28b
5fb251b
4547528
3ed6ac9
8fa6431
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| name: Deploy | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - develop | ||
| - master | ||
|
|
||
| jobs: | ||
| canary: | ||
| runs-on: ubuntu-latest | ||
| if: github.ref_name == 'develop' && github.repository_owner == 'dequelabs' | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: 18 | ||
| cache: 'npm' | ||
| - run: npm ci | ||
| - run: npm run bootstrap | ||
| # Make sure the working tree is clean | ||
| - run: git reset --hard HEAD | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Was this here previously for some reason that was specific to circleci? This feels like something that should be a "fail the build if not true" step, not a "silently force it to be true" step
Member
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I do not know why this was here previously. |
||
| - run: npm config set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }} | ||
| - run: | | ||
| npx lerna publish prepatch \ | ||
stephenmathieson marked this conversation as resolved.
Show resolved
Hide resolved
|
||
| --no-verify-access \ | ||
| --no-git-tag-version \ | ||
| --no-push \ | ||
| --canary \ | ||
| --dist-tag=next \ | ||
| --exact \ | ||
| --force-publish \ | ||
| --yes | ||
|
|
||
| production: | ||
| runs-on: ubuntu-latest | ||
| if: github.ref_name == 'master' && github.repository_owner == 'dequelabs' | ||
| steps: | ||
| - uses: actions/checkout@v3 | ||
| - uses: actions/setup-node@v3 | ||
| with: | ||
| node-version: 18 | ||
| cache: 'npm' | ||
| - run: npm ci | ||
| - run: npm run bootstrap | ||
| # Make sure the working tree is clean | ||
| - run: git reset --hard HEAD | ||
| - run: npm config set "//registry.npmjs.org/:_authToken" ${{ secrets.NPM_TOKEN }} | ||
| - run: | | ||
| npx lerna publish from-package \ | ||
| --force-publish='*' \ | ||
| --yes | ||
| - uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 # v0.1.15 | ||
Uh oh!
There was an error while loading. Please reload this page.