Skip to content

fix(ci): update node version to 22 #14

fix(ci): update node version to 22

fix(ci): update node version to 22 #14

Workflow file for this run

name: Release
on:
push:
# Limit this action to tags only
tags:
- 'v[0-9]+\.[0-9]+\.[0-9]+'
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Yarn setup
uses: DerYeger/yarn-setup-action@master
with:
node-version: 22
- name: Release
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
touch .npmrc
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
npm publish