Skip to content

Bump actions/setup-node from 4.0.3 to 4.0.4 (#106) #97

Bump actions/setup-node from 4.0.3 to 4.0.4 (#106)

Bump actions/setup-node from 4.0.3 to 4.0.4 (#106) #97

Workflow file for this run

name: publish
on:
push:
branches:
- master
jobs:
npm-publish:
name: npm-publish
runs-on: ubuntu-22.04
steps:
- name: Checkout repository
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/[email protected]
with:
node-version: 20.x
- name: Build
run: |
npm install
npm run build
- name: Publish if version has been updated
uses: pascalgn/[email protected]
with:
commit_pattern: "^Release (\\S+)"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}