Skip to content

Update node version used in action #6

Update node version used in action

Update node version used in action #6

Workflow file for this run

name: Build
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
env: { NODE_OPTIONS: --openssl-legacy-provider }
strategy:
matrix:
node-version: [21.x, latest]
steps:
- name: Git checkout
uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm i && cd example/ && npm i
- name: Build methone
run: npm run build
- name: Build example website
run: cd example/ && npm run build