Oppsett for å debugge inni docker #212
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: "verify: frackend" | |
on: | |
pull_request: | |
branches: | |
- 'main' | |
paths: | |
- 'apps/frackend/**' | |
- '.github/*/verify-frackend.yaml' | |
jobs: | |
verify: | |
name: Verify there are no lint or typescript errors | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: '18' | |
registry-url: https://npm.pkg.github.com/ | |
scope: '@navikt' | |
- name: Install dependencies | |
working-directory: apps/frackend | |
run: npm ci | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.READER_TOKEN }} | |
- name: Run ESLint | |
working-directory: apps/frackend | |
run: npm run lint | |
- name: Check for typescript errors | |
working-directory: apps/frackend | |
run: npm run check-types |