chore: Update dependency eslint to v8.50.0 #753
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: Deploy | |
on: | |
push: | |
branches: [ main ] | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
jobs: | |
deploy_alpha: | |
name: Publish alpha npm package | |
runs-on: [ubuntu-latest] | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
submodules: true | |
fetch-depth: 100 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.nvmrc' | |
registry-url: 'https://registry.npmjs.org' | |
cache: npm | |
- run: npm ci | |
- run: npm run build | |
- run: npm run build:esm | |
- run: echo "alpha_version=$(node -e "console.log(require('./version').getAlphaVersion());")" >> $GITHUB_ENV | |
- run: echo $alpha_version | |
- run: npm --no-git-tag-version version $alpha_version | |
- run: npm publish --tag next | |
docs: | |
name: docs | |
runs-on: [ubuntu-latest] | |
steps: | |
- name: Trigger docs deployment | |
uses: peter-evans/[email protected] | |
with: | |
repository: excaliburjs/excaliburjs.github.io | |
token: ${{ secrets.DOCS_GH_TOKEN }} | |
event-type: deploy-docs |