Excalibur v0.28.3 Release #1
Workflow file for this 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
name: Release to NPM | ||
on: | ||
release: | ||
types: [published] | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN } | ||
Check failure on line 8 in .github/workflows/release.yml GitHub Actions / Release to NPMInvalid workflow file
|
||
jobs: | ||
build: | ||
uses: ./.github/workflows/build.yml | ||
deploy_release: | ||
name: Publish npm package | ||
needs: [build] | ||
runs-on: [ubuntu-latest] | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
submodules: true | ||
fetch-depth: 100 | ||
- uses: actions/setup-node@v4 | ||
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: npm publish |