Update NAPI and GYP to modern versions #21
This file contains hidden or 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: Checks | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
pull_request: | |
runs-on: windows-2022 | |
steps: | |
- name: "Check out repo" | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: "Use Node.js" | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
- name: "Set yarn version (3.1.0)" | |
run: yarn set version 3.1.0 | |
- name: "Install deps" | |
run: yarn install | |
- name: "Build packages" | |
run: yarn build | |
- name: "Lint codebase" | |
run: yarn lint | |
- name: "Version check" | |
run: yarn version check |