Skip to content

Commit

Permalink
Update build-check.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
krypciak committed Aug 16, 2024
1 parent 7c4ec90 commit 834ab12
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/build-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@ name: Build check
on:
workflow_dispatch:
push:
branches:
- dev

jobs:
build:
Expand All @@ -13,16 +11,20 @@ jobs:
steps:
- uses: actions/checkout@v4

- name: Install Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- uses: pnpm/action-setup@v3
name: Install pnpm
with:
version: 8
run_install: false

- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'
cache-dependency-path: 'pnpm-lock.yaml'

- name: Compile
run: pnpm install; pnpm run start
run: npm run start

- name: Test
run: npm test

0 comments on commit 834ab12

Please sign in to comment.