Skip to content

Commit

Permalink
Add build check to CI jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
omacranger committed Jul 21, 2022
1 parent b3d2a6c commit 44dba35
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,21 @@ jobs:
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
# end reused configuration
- run: npm run prettier-check

build:
name: Builds
# Start reused configuration
runs-on: ubuntu-latest
needs: [cache-packages]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16
- uses: actions/cache@v3
id: load-cache
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}
# end reused configuration
- run: npm run build

0 comments on commit 44dba35

Please sign in to comment.