Skip to content

Prepare release v18.0.0 #8

Prepare release v18.0.0

Prepare release v18.0.0 #8

Workflow file for this run

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.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: package-lock.json
- run: npm install-ci-test
- uses: cucumber/action-publish-npm@v1.1.1
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@v4
- uses: cucumber/action-create-github-release@v1.1.1
with:
github-token: ${{ secrets.GITHUB_TOKEN }}