Files
replayweb.page/.github/workflows/npm-release.yaml
T
Ilya Kreymer 80fbc448e3 deps: update to wabac.js 2.25.3 to fix WACZ loading bug (#484)
ci: update npm release action for npm authorized builds bump to 2.4.1
2026-02-12 00:35:40 -08:00

31 lines
641 B
YAML

name: Publish Package to npmjs
on:
release:
types: [published]
permissions:
id-token: write # Required for OIDC
contents: read
jobs:
build-release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "24.x"
registry-url: "https://registry.npmjs.org"
cache: "yarn"
- name: Yarn Install
run: yarn install --frozen-lockfile
- name: Yarn Run Build
run: yarn run build
- name: Npm Publish!
run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}