Skip to content

Prepare release v21.3.0 #19

Prepare release v21.3.0

Prepare release v21.3.0 #19

name: Release npm module
on:
push:
branches:
- release/*
jobs:
pre-release-check:
uses: cucumber/.github/.github/workflows/prerelease-checks.yml@main
test-javascript:
uses: ./.github/workflows/test-javascript.yml
publish-npm:
name: Publish NPM module
needs: [pre-release-check, test-javascript]
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: "npm"
cache-dependency-path: javascript/package-lock.json
- run: npm install-ci-test
working-directory: javascript
- uses: cucumber/[email protected]
with:
npm-token: ${{ secrets.NPM_TOKEN }}
working-directory: javascript