Skip to content

Update package.json

Update package.json #8

Workflow file for this run

name: Release
on:
push:
branches:
- main
paths:
- package.json
jobs:
release:
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
id-token: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm install
# Uncomment to run tests
# - name: Run tests
# run: npm test
- name: Build project
run: npm run build
- id: publish
name: Publish to NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.NPM_TOKEN }}
dry-run: false
provenance: true