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: First workflow | |
on: [push, workflow_dispatch] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- name: getting code | |
uses: actions/checkout@v4 | |
- name: installing dependencies | |
run: npm ci | |
- name: linting code | |
run: echo linting code... | |
build: | |
needs: lint | |
runs-on: ubuntu-latest | |
steps: | |
- name: getting code | |
uses: actions/checkout@v4 | |
- name: installing dependencies | |
run: npm ci | |
- name: building app | |
run: npm run build | |
test: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: getting code | |
uses: actions/checkout@v4 | |
- name: installing dependencies | |
run: npm ci | |
- name: testing app | |
run: npm run test |