Fix node version to 22 #2
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
# Runs on all other branches and ensures that the code builds successfully | |
name: Build | |
on: | |
push: | |
branches-ignore: | |
- master | |
jobs: | |
build-switcher: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: "22.x" | |
- name: Install dependencies | |
run: npm install | |
- name: Build | |
run: npm run switcher:build |