Release 4.0.7 #22
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: npm-publish | |
on: | |
push: | |
branches: | |
- master | |
env: | |
HUSKY: 0 | |
jobs: | |
npm-publish: | |
name: Npm Publish | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node v20.x | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20.x | |
# https://docs.npmjs.com/cli/v10/commands/npm-ci | |
- name: Install Package | |
run: npm ci | |
- name: Build Project | |
run: npm run build | |
- name: Remove node_modules | |
run: rm -Rf node_modules | |
- name: Publish if version has been updated | |
uses: pascalgn/npm-publish-action@1.3.9 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_AUTH_TOKEN: ${{ secrets.JEST_CUCUMBER_NPM_TOKEN }} |