Skip to content

fix(ci): issue with wrong yarn version #22

fix(ci): issue with wrong yarn version

fix(ci): issue with wrong yarn version #22

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
publish-package:
name: Publish package
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 22
registry-url: 'https://registry.npmjs.org'
- name: Set up yarn with corepack
run: |
corepack enable &&
corepack install
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Publish package
run: yarn push
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}