Skip to content

release: v0.1.0-alpha.4 #24

release: v0.1.0-alpha.4

release: v0.1.0-alpha.4 #24

Workflow file for this run

name: Publish to NPM
on:
push:
tags:
- "v*"
# Provenance requires id-token:write so npm can verify the package
# was built in this GitHub Actions workflow via Sigstore.
permissions:
contents: read
id-token: write
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- run: nix run . -- run publish --force --verbose
env:
PUBLISH_TAG: ${{ github.ref_name }}
ACTIONS_ID_TOKEN_REQUEST_URL: ${{ env.ACTIONS_ID_TOKEN_REQUEST_URL }}
ACTIONS_ID_TOKEN_REQUEST_TOKEN: ${{ env.ACTIONS_ID_TOKEN_REQUEST_TOKEN }}