Skip to content

Fork to @kineticcafe and Typescript #1

Fork to @kineticcafe and Typescript

Fork to @kineticcafe and Typescript #1

Workflow file for this run

name: Node.js Package
on:
push:
tags:
- v*
jobs:
package:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
with:
version: 8
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: pnpm install --frozen-lockfile --ignore-scripts
- run: pnpm run build
- run: pnpm exec publint
- run: pnpm test
- run: pnpm publish --ignore-scripts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}