Rewrite error messages #2618
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: 'Test coverage' | |
on: | |
pull_request: | |
branches: [master] | |
env: | |
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
jobs: | |
test-coverage: | |
permissions: | |
contents: 'read' | |
packages: read | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.9.0' | |
cache: 'yarn' | |
cache-dependency-path: '**/yarn.lock' | |
registry-url: https://npm.pkg.github.com/ | |
scope: '@navikt' | |
- name: 'Install dependencies' | |
run: yarn | |
- name: set timezone | |
uses: szenius/[email protected] | |
with: | |
timezoneLinux: 'Europe/Oslo' | |
- name: 'Test with coverage report' | |
run: yarn test:coverage |