Skip to content

Update node version used in action #2

Update node version used in action

Update node version used in action #2

Workflow file for this run

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