fix: tyr to fix nodejs build

This commit is contained in:
winkidney
2024-09-30 20:14:24 +08:00
parent 6aa7b3272b
commit 0617f461c5

View File

@@ -15,7 +15,7 @@ jobs:
strategy:
matrix:
node-version: [ 12.x, 14.x ]
node-version: [ 18.x, ]
steps:
- uses: actions/checkout@v2
@@ -23,8 +23,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install yarn
- run: yarn install --registry https://registry.yarnpkg.com
- run: npm install -g pnpm
- run: pnpm install
working-directory: ./pinry-spa
- run: yarn build
- run: pnpm build
working-directory: ./pinry-spa