ci: update github action

This commit is contained in:
chenshenhai 2023-10-15 11:57:02 +08:00
parent 1b5f621e12
commit 3c84fa24f0

View file

@ -1,4 +1,4 @@
name: Publish Package to npmjs
name: Release
on:
release:
types: [published]
@ -12,6 +12,8 @@ jobs:
with:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm install --global pnpm
- run: pnpm i
- run: npm run test
- run: npm run build
- run: cd packages/types/