Update Node.js to v16.20.2 #608
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: Lint | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
getNodeVersion: | |
uses: gagoar/github-app-installation-token/.github/workflows/node_version.yml@main | |
lint: | |
runs-on: ubuntu-latest | |
needs: getNodeVersion | |
steps: | |
- uses: actions/checkout@main | |
- name: Setting node version to ${{ needs.getNodeVersion.outputs.node_version }} | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '${{ needs.getNodeVersion.outputs.node_version }}' | |
- run: npm install | |
- run: npm run lint |