Skip to content

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

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

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

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
- name: Install Packages
run: yarn install
- name: Lint
run: yarn lint
- name: Build
run: yarn build
test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 19.x]
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: yarn install --ignore-engines
- name: Test
run: yarn test
test-and-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4
- uses: actions/setup-node@v3
- name: Install Packages
run: yarn install --ignore-engines
- name: Test
run: yarn cover
- name: Coveralls GitHub Action
uses: coverallsapp/github-action@3b7078ee895f74fc267b7b267c88211df59fa816 # v2.2.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}