Skip to content

Workflow file for this run

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