Skip to content

Commit

Permalink
Merge pull request #618 from navikt/byggsjekk-pa-pr
Browse files Browse the repository at this point in the history
Legg til byggsjekk på PR-ar
  • Loading branch information
ingfo committed Aug 5, 2024
2 parents d423213 + 70ed8c5 commit 49bc107
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/workflows/pull-request.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Sjekk at koden bygger

on: pull_request

jobs:
build-application:
name: Build application
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm run test
- name: Build application
run: npm run build:mock

0 comments on commit 49bc107

Please sign in to comment.