Simplify GH Actions

This commit is contained in:
Nikita Karamov 2023-09-02 23:45:46 +02:00
parent 849212e038
commit bc99af31e9
No known key found for this signature in database
GPG Key ID: 41D6F71EE78E77CD
1 changed files with 1 additions and 24 deletions

View File

@ -25,31 +25,8 @@ jobs:
- name: Use latest Node.js
uses: actions/setup-node@v3
with:
node-version: 20
node-version: 18
cache: "pnpm"
- run: pnpm install
- run: pnpm check
build:
needs: check
runs-on: ubuntu-latest
strategy:
matrix:
node-version:
- 16
- 18
- 20
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "pnpm"
- run: pnpm install
- run: pnpm build