Skip to content

chore: Bump scrcpy-decoder-webcodecs to 2.0.0 #1

chore: Bump scrcpy-decoder-webcodecs to 2.0.0

chore: Bump scrcpy-decoder-webcodecs to 2.0.0 #1

Workflow file for this run

name: Publish Package to npm
on:
push:
tags:
- "v**"
jobs:
publish:
name: Publish
runs-on: ubuntu-latest
permissions:
contents: write # to be able to publish a GitHub release
id-token: write # to enable use of OIDC for npm provenance
issues: write # to be able to comment on released issues
packages: write # to be able to publish a GitHub package
pull-requests: write # to be able to comment on released pull requests
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20.15.0
- uses: pnpm/action-setup@v2
with:
version: 9.5.0
run_install: true
- run: pnpm run build
- run: |
npm config set "//npm.pkg.github.com/:_authToken" "${NPM_TOKEN}"
pnpm recursive publish --access public --no-git-checks
env:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_CONFIG_PROVENANCE: true