Skip to content

feature/decorative-accessibility-tutorial-test #45

feature/decorative-accessibility-tutorial-test

feature/decorative-accessibility-tutorial-test #45

name: Continuous delivery (CD)
on:
pull_request:
types: [ closed ]
jobs:
publish-npm:
if: github.event.pull_request.merged
permissions:
contents: read
id-token: write
runs-on: ubuntu-latest
steps:
- name: Repository checkout
uses: actions/[email protected]
- name: Node.js setup
uses: actions/[email protected]
with:
cache: npm
cache-dependency-path: package-lock.json
node-version: 20.18.0
registry-url: https://registry.npmjs.org
- name: Dependencies installation
run: npm ci
- env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
name: Publish to npm
run: npm publish --provenance --access public