Skip to content

v1.2.3 (llvmorg-19.1.6) #16

v1.2.3 (llvmorg-19.1.6)

v1.2.3 (llvmorg-19.1.6) #16

Workflow file for this run

name: publish
on:
release:
types: [published]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Set up checkout
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: npm
registry-url: https://registry.npmjs.org
- name: Set up cache
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
- name: Set up node_modules
run: npm ci
- name: Test
run: npm run test
- name: Publish
run: npm run publish-package
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}