Skip to content

Rewrite to yarn

Rewrite to yarn #2

Workflow file for this run

name: Publish
on:
push:
tags:
- "v*"
jobs:
release:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: Install yarn packages
run: yarn install --frozen-lockfile
- name: build
run: yarn build
- name: Publish to npm
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_ACCESS_TOKEN }}