Skip to content

0.9.3

0.9.3 #8

Workflow file for this run

on:
release:
types: [ created ]
name: npm release pipeline
jobs:
publish-npm:
name: Publish NPM Job
runs-on: ubuntu-latest
steps:
- name: echo ref
run: |
echo "Ref ${{ github.ref }}"
echo "Ref ${{ github }}"
- name: Checkout code
uses: actions/checkout@v4
with:
ref: ${{ github.ref }}
- name: npm setup
uses: actions/setup-node@v4
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: npm install
run: |
npm ci --slient
- name: npm build
run: |
npm run build:prod --silent
- name: npm publish
run: |
npm publish --ignore-scripts --loglevel verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}