Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

ci: fix node version #86

ci: fix node version

ci: fix node version #86

Workflow file for this run

name: npm-publish
on:
push:
tags:
- 'v*'
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- run: yarn install --frozen-lockfile
- run: yarn build
# - run: yarn test #TODO: enable when tests are done
- run: yarn publish --non-interactive --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}