Skip to content

Prepare release v22.2.0 #26

Prepare release v22.2.0

Prepare release v22.2.0 #26

Workflow file for this run

name: Release npm module
on:
push:
branches:
- release/*
jobs:
pre-release-check:
uses: ./.github/workflows/prerelease-checks.yml
test:
uses: ./.github/workflows/test.yml
publish-npm:
name: Publish NPM module
needs: [pre-release-check, test]
runs-on: ubuntu-latest
environment: Release
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
cache: 'npm'
cache-dependency-path: package-lock.json
- run: npm ci
- run: npm run compile
- uses: cucumber/[email protected]
with:
npm-token: ${{ secrets.NPM_TOKEN }}
create-github-release:
name: Create GitHub Release and Git tag
needs: [publish-npm]
runs-on: ubuntu-latest
environment: Release
permissions:
contents: write
steps:
- uses: actions/checkout@v3
- uses: cucumber/[email protected]
with:
github-token: ${{ secrets.GITHUB_TOKEN }}