mirror of
https://github.com/Choices-js/Choices.git
synced 2026-03-14 14:45:47 +01:00
24 lines
452 B
YAML
24 lines
452 B
YAML
name: Publish to npm
|
|
|
|
on:
|
|
push:
|
|
branches: [deploy-v1.2.0]
|
|
release:
|
|
types: [published]
|
|
|
|
permissions:
|
|
id-token: write # Required for OIDC
|
|
contents: read
|
|
|
|
jobs:
|
|
publish-npm:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
fetch-depth: 1
|
|
- uses: actions/setup-node@v4
|
|
with:
|
|
node-version: 24
|
|
- run: npm ci
|
|
- run: npm publish --provenance --access public
|