Skip to content

chore(deps): Downgrade eslint version to 8.57.0 #35

chore(deps): Downgrade eslint version to 8.57.0

chore(deps): Downgrade eslint version to 8.57.0 #35

Workflow file for this run

name: test
on:
push:
branches:
- "*"
- "!master"
pull_request:
branches:
- "*"
- "!master"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install global dependencies
run: npm i yarn -g
- name: Install dependencies
run: yarn
- name: Run linter
run: npm run lint
- name: Run test with coverage
run: npm run coverage
- name: Coveralls
uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}