Skip to content

1.3.4 (#30)

1.3.4 (#30) #9

Workflow file for this run

name: Publish to NPM
on:
push:
tags: ['v*']
workflow_dispatch:
jobs:
chrome-tests:
uses: ./.github/workflows/chrome-tests.yml
publish:
needs: [chrome-tests]
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '21.x'
registry-url: 'https://registry.npmjs.org'
- uses: pnpm/action-setup@v2
name: Install pnpm
with:
version: 8
run_install: true
- name: Build
run: pnpm build
- name: Pack
run: cd packages/vue-collapsed && rm -rf *.tgz && npm pack
- name: Publish
run: cd packages/vue-collapsed && npm publish *.tgz --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}