Merge pull request #444 from yuiseki/renovate/eslint #1022
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: push | |
name: lint | |
jobs: | |
tsc: | |
runs-on: ubuntu-24.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Extract node version | |
run: echo "NODE_VERSION=$(cat .node_version)" >> $GITHUB_ENV | |
- name: Set Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
cache: npm | |
- run: npm ci | |
- name: lint | |
run: npm run lint |