v4.0.3 #49
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 | |
on: | |
push: | |
tags: | |
- 'v*' | |
jobs: | |
release: | |
name: Create and publish a release | |
runs-on: ubuntu-latest | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 'current' | |
registry-url: https://registry.npmjs.org | |
- | |
name: Install dependencies | |
run: yarn install | |
- | |
name: Check build | |
run: yarn build | |
- | |
name: Check coding standards | |
run: yarn lint | |
- | |
name: Run tests | |
run: yarn test | |
- | |
name: Publish to npm | |
run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |