Update node version used in action #2
Workflow file for this run
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 ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [21.x] | |
steps: | |
- name: Git checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
env: { NODE_OPTIONS: --openssl-legacy-provider } | |
run: npm i && cd example/ && npm i | |
- name: Build methone | |
env: { NODE_OPTIONS: --openssl-legacy-provider } | |
run: npm run build | |
- name: Build example website | |
env: { NODE_OPTIONS: --openssl-legacy-provider } | |
run: cd example/ && npm run build |