Skip to content

Commit

Permalink
chore: update test action
Browse files Browse the repository at this point in the history
  • Loading branch information
sgomez committed Oct 27, 2024
1 parent 923e6dd commit dd36ddc
Showing 1 changed file with 21 additions and 10 deletions.
31 changes: 21 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,28 @@
name: Test
on: [push]
on:
- push
- pull_request

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v3
- name: Checkout
uses: actions/checkout@v4

- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: 20
cache: 'pnpm'
- run: |
corepack enable
pnpm install
- run: |
pnpm run all

- name: Install dependencies
run: pnpm install

- name: Run tests
run: pnpm run all

0 comments on commit dd36ddc

Please sign in to comment.