Skip to content

2.9.4: Dependencies update #20

2.9.4: Dependencies update

2.9.4: Dependencies update #20

Workflow file for this run

name: Publish Package to npmjs
on:
release:
types: [ released ]
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
id-token: write
steps:
- uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v6
with:
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'
cache: 'pnpm'
- name: Update npm
run: npm install -g npm@latest
- run: pnpm install
- run: pnpm test
env:
TWITCH_ID: ${{ secrets.TWITCH_ID }}
TWITCH_SECRET: ${{ secrets.TWITCH_SECRET }}
- run: pnpm build
- run: npm publish
# env:
# NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}