bump spfx-fast-serve-helpers to match SPFx version of the repo #572
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
name: BETA Release | |
on: | |
push: | |
branches: | |
- dev | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18 | |
registry-url: 'https://registry.npmjs.org' | |
- name: Install npm dependencies | |
run: npm i | |
- name: Update the package version | |
if: github.ref == 'refs/heads/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 beta release | |
run: npm publish --tag next --access public | |
if: github.ref == 'refs/heads/dev' | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.NPM_PUBLISH_TOKEN}} |