Skip to content

add ci to run linter #1

add ci to run linter

add ci to run linter #1

Workflow file for this run

name: Pipeline
on:
pull_request:
push:
branches:
- main
tags:
- '*'
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read .nvmrc
run: echo "NVMRC=$(cat .nvmrc)" >> $GITHUB_OUTPUT
id: nvm
- name: Use Node.js (.nvmrc)
uses: actions/setup-node@v4
with:
node-version: "${{ steps.nvm.outputs.NVMRC }}"
cache: yarn
- name: yarn install
run: yarn
- name: Lint
run: yarn lint