Skip to content

Commit

Permalink
Update build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marihachi authored Jan 31, 2024
1 parent 2c16aea commit 6e840a1
Showing 1 changed file with 22 additions and 2 deletions.
24 changes: 22 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ on:
branches: [ "main" ]

jobs:
build:
build-latest:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
node-version: [20.x]

steps:
- uses: actions/checkout@v3
Expand All @@ -33,3 +33,23 @@ jobs:
name: artifacts_node${{ matrix.node-version }}
path: |
dist
build-others:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x, 18.x]

steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Build
run: |
npm i
npm run build

0 comments on commit 6e840a1

Please sign in to comment.