Skip to content

v4.0.3

v4.0.3 #49

Workflow file for this run

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 }}