Merge pull request #242 from Benedictteo05/feat/specify-alternate-ver… #236
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: "Build" | |
on: | |
push: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [18.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Checkout submodules | |
run: git submodule update --init --recursive | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: run install | |
uses: pnpm/action-setup@v4 | |
with: | |
version: 6 # local version is 7 but it's not supported by the action, this is why the next line we use no-frozen-lockfile | |
- run: pnpm install --no-frozen-lockfile | |
- run: pnpm run build |