Skip to content

chore: replace pnpm with npm in CI workflows and add .npmrc for regis… #14

chore: replace pnpm with npm in CI workflows and add .npmrc for regis…

chore: replace pnpm with npm in CI workflows and add .npmrc for regis… #14

Workflow file for this run

name: Release
on:
push:
tags:
- 'v*'
jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: npm ci
- name: Build
run: npm run build
- name: Test
run: npm test
- name: Publish
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}