Skip to content

[Issue #89] Filter and response docs (#110) #8

[Issue #89] Filter and response docs (#110)

[Issue #89] Filter and response docs (#110) #8

Workflow file for this run

name: CD - Publish @common-grants/core
on:
push:
branches:
- main
paths:
- "specs/**" # Trigger only if files in the `specs/` directory are changed
- ".github/workflows/cd-specs-npm.yml"
defaults:
run:
working-directory: ./specs
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v4
with:
node-version: "20.x"
registry-url: "https://registry.npmjs.org"
- name: Run checks
run: npm run checks
- name: Publish to npm
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
run: npm publish --tag alpha --access public