Skip to content

2.1.3

2.1.3 #8

Workflow file for this run

name: Publish @wfp/common-identifier-algorithm-shared
on:
push:
tags:
- "v*.*.*"
- "v*.*.*-*"
permissions:
checks: write
contents: read
packages: write
pull-requests: read
jobs:
test:
uses: "./.github/workflows/test.yaml"
publish:
runs-on: ubuntu-latest
needs:
- test
steps:
- name: Checkout source
uses: actions/checkout@v4
- name: Setup nodeJS
uses: actions/setup-node@v4
with:
node-version: "24"
registry-url: "https://npm.pkg.github.com"
scope: "@wfp"
- name: Install dependencies
run: npm install
- name: Build package
run: npm run build
- name: Publish to GitHub packages
run: npm publish
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}