Skip to content

Commit

Permalink
Update github action
Browse files Browse the repository at this point in the history
  • Loading branch information
Temzasse committed Oct 8, 2023
1 parent 0e47159 commit 8f99c0f
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
cache: 'yarn'
cache: 'npm'
node-version: 18

- name: 📥 Install deps
run: yarn
run: npm ci

- name: 🔬 Lint
run: yarn lint
run: npm run lint

typecheck:
name: ʦ TypeScript
Expand All @@ -30,16 +30,17 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
cache: 'yarn'
cache: 'npm'
node-version: 18

- name: 📥 Install deps
run: yarn
run: npm ci

- name: 🔎 Type check
run: yarn typecheck
run: npm run typecheck

test:
name: 🧪 Jest
name: 🧪 Test
runs-on: ubuntu-latest
steps:
- name: ⬇️ Checkout repo
Expand All @@ -48,11 +49,11 @@ jobs:
- name: ⎔ Setup node
uses: actions/setup-node@v3
with:
cache: 'yarn'
cache: 'npm'
node-version: 18

- name: 📥 Install deps
run: yarn
run: npm ci

- name: 🔬 Test
run: yarn test
run: npm run test

0 comments on commit 8f99c0f

Please sign in to comment.