Skip to content

2.29.5-exui-2079-rc13 #70

2.29.5-exui-2079-rc13

2.29.5-exui-2079-rc13 #70

Workflow file for this run

name: Node.js Package
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
- name: Enable corepack
run: |
corepack enable
- run: yarn install
- run: yarn ci
- run: yarn test
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://registry.npmjs.org/
- name: Enable corepack
run: |
corepack enable
- run: yarn install
- run: yarn ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}
NPM_PUBLISH_REGISTRY: https://npm.pkg.github.com/
publish-gpr:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
registry-url: https://npm.pkg.github.com/
scope: '@hmcts'
- name: Enable corepack
run: |
corepack enable
- run: yarn install
- run: yarn ci
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
NPM_PUBLISH_REGISTRY: https://npm.pkg.github.com/