Skip to content

πŸ”– 2.1.0

πŸ”– 2.1.0 #7

Workflow file for this run

name: Publish to npm
on:
release:
types: [created]
permissions:
id-token: write
jobs:
build:
uses: AckeeCZ/create-node-app/.github/workflows/build.yml@main
publish:
needs: "build"
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 24
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm ci --ignore-scripts
- name: Build project
run: npm run build
- name: Publish to npm
run: npm publish --access public --provenance