Skip to content

v2.0.2

v2.0.2 #14

Workflow file for this run

name: Version release
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- run: yarn
- run: yarn build
- run: yarn coverage
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: 20
- run: yarn
- run: yarn build
- run: yarn release
env:
NPM_AUTH_TOKEN: ${{secrets.PUBLISH_NPM_TOKEN}}
YARN_REGISTRY: https://registry.npmjs.org/