Skip to content

v1.1.2

v1.1.2 #3

Workflow file for this run

name: Publish to npm
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '22' # specify node version 22
registry-url: 'https://registry.npmjs.org/'
# Install dependencies
- name: Install dependencies
run: npm install
# Build the project
- name: Build the project
run: npm run build
# Testung the project
- name: Testing the project
run: npm run test
- name: Publish package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish