Update actions/setup-node action to v4 (#44) #171
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: Run build CI | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4 | |
with: | |
submodules: recursive | |
- name: Use Node.js 16 | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 16.x | |
cache: "npm" | |
- name: Setup Go environment | |
uses: actions/[email protected] | |
with: | |
go-version: "^1.18.0" | |
- name: Setup Python | |
uses: actions/[email protected] | |
with: | |
python-version: "3.8" | |
- run: pip install -r requirements.txt | |
- run: npm ci | |
- run: npm run build |