feat. Sette opp ny workflow med nais/docker-build-push@v0 og bygg av … #999
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Bygg branch | |
on: | |
push: | |
branches: | |
- '**' | |
- '!master' | |
jobs: | |
build: | |
name: Bygg branch og lag deployment-issue | |
runs-on: ubuntu-latest | |
steps: | |
- name: Sjekk ut kode | |
uses: actions/checkout@v4 | |
- name: Setup node.js | |
uses: actions/setup-node@v3 | |
with: | |
registry-url: 'https://npm.pkg.github.com' | |
- name: Install | |
run: npm ci | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }} | |
- name: Typescript | |
run: npm run ts | |
- name: Prettier | |
run: npm run prettier | |
- name: Kjør tester | |
run: npm run test |