Skip to content

Commit

Permalink
Update node version used in action
Browse files Browse the repository at this point in the history
  • Loading branch information
foodelevator committed Mar 29, 2024
1 parent 52505e3 commit af9562e
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 26 deletions.
34 changes: 34 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
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]

steps:
- name: Git checkout
uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
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
26 changes: 0 additions & 26 deletions .github/workflows/npm-publish.yml

This file was deleted.

0 comments on commit af9562e

Please sign in to comment.