Skip to content

build(deps): bump actions/checkout from 2 to 4 (#35) #37

build(deps): bump actions/checkout from 2 to 4 (#35)

build(deps): bump actions/checkout from 2 to 4 (#35) #37

Workflow file for this run

name: ci
on:
push:
jobs:
lint:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [16, 18, 20]
steps:
- name: Checkout πŸ›Ž
uses: actions/checkout@v4
- name: Setup node env πŸ—
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Cache node_modules πŸ“¦
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-${{ matrix.node }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-${{ matrix.node }}-node-
- name: Install dependencies πŸ‘¨πŸ»β€πŸ’»
run: npm install
- name: Build project
run: npm run build
- name: Run lint πŸ‘€
run: npm run lint
- name: Run test πŸ‘€
run: npm run test