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

View file

@ -25,31 +25,8 @@ jobs:
- name: Use latest Node.js - name: Use latest Node.js
uses: actions/setup-node@v3 uses: actions/setup-node@v3
with: with:
node-version: 20 node-version: 18
cache: "pnpm" cache: "pnpm"
- run: pnpm install - run: pnpm install
- run: pnpm check - 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 - run: pnpm build