Adjust module resolution to node16 to potentially improve vitest compatibility #480
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
--- | |
name: linting | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: linting | |
strategy: | |
matrix: | |
node-version: [20.x] | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 1 | |
- name: Setup Node ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
always-auth: false | |
node-version: ${{ matrix.node-version }} | |
- name: Run npm install | |
run: npm install | |
- name: Run lint | |
run: npm run lint |