-
Notifications
You must be signed in to change notification settings - Fork 14
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
d1bd6e7
commit 7134adf
Showing
2 changed files
with
52 additions
and
0 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,32 @@ | ||
name: Release | ||
|
||
on: | ||
push: [ master, staging, ci/release ] | ||
|
||
jobs: | ||
release: | ||
name: Build & Release | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 15 | ||
# We must indicate the Github Package Registry, as our config packages | ||
# are there (and also NPM). Frustratingly, NPM prefers the GPR over | ||
# NPM - even when we indicate that we want to pull from NPM instead of | ||
# the GPR. | ||
registry-url: https://npm.pkg.github.com | ||
|
||
- run: npm ci | ||
env: | ||
# Provide a "password" to GPR so that we can pull our packages. | ||
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- run: npm run build | ||
|
||
- run: npx semantic-release --dry-run |
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