Skip to content

v3.0.5

v3.0.5 #72

Workflow file for this run

name: Publish Asherah-Node
on:
release:
types: [published] # Trigger when release is created
jobs:
publish-package:
timeout-minutes: 15
runs-on: ubuntu-latest
container:
image: node:bookworm
options: --ulimit core=-1 --ulimit memlock=-1:-1
steps:
- uses: actions/checkout@v4
- name: Install packages
run: npm install
- name: Test
run: npm test
- name: Set version to match tag
run: scripts/set-version.sh ${GITHUB_REF#refs/*/}
- name: Publish (main)
run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > .npmrc && npm publish; rm .npmrc
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}