Skip to content

Commit

Permalink
Merge pull request #14 from aulasoftwarelibre/action
Browse files Browse the repository at this point in the history
chore: update test action
  • Loading branch information
sgomez authored Oct 27, 2024
2 parents 923e6dd + dd36ddc commit b44343e
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 b44343e

Please sign in to comment.