Skip to content

0.0.17

0.0.17 #17

Workflow file for this run

name: Publish Node.js Package
on:
release:
types: [published]
push:
tags:
- '*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: corepack enable && yarn install --immutable
- name: Format & lint codebase
run: yarn format && yarn lint
- name: Build
run: yarn build
- name: Run tests
run: yarn test
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}