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: | ||
steps: | ||
- name: getting code | ||
runs on: ubuntu-latest | ||
Check failure on line 7 in .github/workflows/test.yml GitHub Actions / First workflowInvalid workflow file
|
||
uses: actions/checkout@v4 | ||
- name: installing dependencies | ||
run: npm ci | ||
- name: linting code | ||
run: npm run lint | ||
build: | ||
needs: lint | ||
steps: | ||
- name: getting code | ||
runs on: ubuntu-latest | ||
uses: actions/checkout@v4 | ||
- name: installing dependencies | ||
run: npm ci | ||
- name: building app | ||
run: npm run build | ||
test: | ||
needs: build | ||
steps: | ||
- name: getting code | ||
runs on: ubuntu-latest | ||
uses: actions/checkout@v4 | ||
- name: installing dependencies | ||
run: npm ci | ||
- name: testing app | ||
run: npm run test |