Skip to content

Commit

Permalink
Teste med vanlig flyt
Browse files Browse the repository at this point in the history
  • Loading branch information
amundsor committed Aug 24, 2023
1 parent 6efe40f commit ef21bb2
Showing 1 changed file with 23 additions and 6 deletions.
29 changes: 23 additions & 6 deletions .github/workflows/build_code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,27 @@ jobs:
actions: write
steps:
- uses: actions/checkout@v3

- name: 'Build npm and run tests'
uses: navikt/sosialhjelp-ci/actions/build-npm@v2-beta
- uses: actions/setup-node@v3
with:
reader-token: ${{ secrets.READER_TOKEN }}
build-less: 'true'
run-orval: 'true'
node-version: '16'
registry-url: 'https://npm.pkg.github.com'
cache: 'npm'
- name: Install dependencies
run: npm ci
env:
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }}
- name: Generate code from OpenAPI
run: npm run orval
- name: Run tests
run: npm run test
- name: Build less
run: npm run build:css
- name: Build application
run: npm run build

# - name: 'Build npm and run tests'
# uses: navikt/sosialhjelp-ci/actions/build-npm@v2-beta
# with:
# reader-token: ${{ secrets.READER_TOKEN }}
# build-less: 'true'
# run-orval: 'true'

0 comments on commit ef21bb2

Please sign in to comment.