Update oppgave-4.md #6
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: π Build | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: π Checkout | |
uses: actions/checkout@v4 | |
- name: βοΈ Set up Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: π Install dependencies | |
run: npm install | |
- name: π©Ί Lint | |
run: npm run lint | |
- name: π π» Check format | |
run: npm run format:check | |
- name: ποΈ Build | |
run: npm run build |