Skip to content

chore(deps): update actions/checkout action to v4 #89

chore(deps): update actions/checkout action to v4

chore(deps): update actions/checkout action to v4 #89

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
name: Linting
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install deps
run: npm install
- name: Eslint check
run: npm run lint
test:
name: Unit tests
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install deps
run: npm install
- name: Test
run: npm run test
- name: Codecov upload
uses: codecov/[email protected]
with:
token: ${{ secrets.CODECOV_TOKEN }}
build:
name: Building
runs-on: ubuntu-22.04
timeout-minutes: 5
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: 18
cache: npm
- name: Install deps
run: npm install
- name: Build
run: npm run build