Skip to content

Bump actions/checkout from 4.1.7 to 4.2.0 (#107) #98

Bump actions/checkout from 4.1.7 to 4.2.0 (#107)

Bump actions/checkout from 4.1.7 to 4.2.0 (#107) #98

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 }}