Skip to content

Commit

Permalink
Merge pull request #627 from seb-oss/chore/run-build-in-pr-check
Browse files Browse the repository at this point in the history
chore: run build in pr_check
  • Loading branch information
alexanderczigler authored Nov 7, 2024
2 parents 2a5080a + 851e117 commit 1263c46
Showing 1 changed file with 21 additions and 3 deletions.
24 changes: 21 additions & 3 deletions .github/workflows/pr_check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,29 @@ jobs:
uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"

- name: Download dependencies
uses: bahmutov/npm-install@v1

build:
name: Build
needs: [install]
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4

- uses: actions/setup-node@v4
with:
node-version-file: ".nvmrc"

- name: Download dependencies
uses: bahmutov/npm-install@v1

- name: Build all packages
run: npm run build

lint:
name: Lint
needs: [install]
Expand All @@ -48,7 +66,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"

- name: Download dependencies
uses: bahmutov/npm-install@v1
Expand All @@ -66,7 +84,7 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
node-version-file: ".nvmrc"

- name: Download dependencies
uses: bahmutov/npm-install@v1
Expand Down

0 comments on commit 1263c46

Please sign in to comment.