添加action
Some checks failed
build / Build (push) Failing after 8s
test / Run tests (push) Failing after 8s

This commit is contained in:
2025-04-10 11:38:06 +08:00
parent 259917545e
commit e94045572d
6 changed files with 36 additions and 24 deletions

View File

@ -11,12 +11,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'npm'
node-version: 22
cache: 'pnpm'
- name: Package with Node
env:
@ -25,9 +25,8 @@ jobs:
mkdir dist
echo "$CHROME_PEM" > ./dist/scriptcat.pem
chmod 600 ./dist/scriptcat.pem
npm ci
npm test
npm run pack
pnpm i
pnpm run pack
- name: Create Release
id: create_release