1
mirror of https://github.com/jakejarvis/hugo-extended.git synced 2026-06-24 11:35:58 -04:00
Files
hugo-extended/.github/workflows/publish.yml
T
2025-12-19 11:13:54 -05:00

25 lines
415 B
YAML

name: Publish to NPM
on:
push:
tags:
- 'v*'
permissions:
id-token: write
contents: read
jobs:
npm:
name: Publish to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v6
with:
node-version: "24"
registry-url: "https://registry.npmjs.org"
- run: npm install -g npm@latest
- run: npm ci
- run: npm publish