-
Notifications
You must be signed in to change notification settings - Fork 379
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
v4 dev release as a separate workflow
- Loading branch information
Showing
4 changed files
with
51 additions
and
8 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
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,37 @@ | ||
name: V4 DEV Release | ||
on: | ||
push: | ||
branches: | ||
- v4-dev | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 16 | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Install npm dependencies | ||
run: npm i | ||
|
||
- name: Update the package version | ||
if: github.ref == 'refs/heads/v4-dev' | ||
run: node scripts/update-package-version.js $GITHUB_RUN_ID | ||
|
||
- name: Update version number for telemetry | ||
run: npm run versionUpdater | ||
|
||
- name: Create/update the missing localization keys | ||
run: npm run localization | ||
|
||
- name: Run build | ||
run: npm run build | ||
|
||
- name: Publish v4 dev release | ||
run: npm publish --tag v4 --access public | ||
if: github.ref == 'refs/heads/v4-dev' | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}} |
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