Skip to content

Bump actions/setup-node from 4.0.4 to 4.1.0 (#495) #1125

Bump actions/setup-node from 4.0.4 to 4.1.0 (#495)

Bump actions/setup-node from 4.0.4 to 4.1.0 (#495) #1125

Workflow file for this run

name: CI
on:
push:
branches:
- main
tags:
- '*'
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Node
uses: actions/[email protected]
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: Lint
run: yarn run lint --no-fix --max-warnings 0 --format stylish
build:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Node
uses: actions/[email protected]
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: build
run: yarn build
test:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- name: Set up Node
uses: actions/[email protected]
with:
node-version: 'lts/*'
cache: 'yarn'
- name: Install dependencies
run: yarn install
- name: test
run: yarn test
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }} # required
files: cobertura-coverage.xml