Skip to content

Commit

Permalink
Add matrix testing with Node LTS
Browse files Browse the repository at this point in the history
  • Loading branch information
eternaltyro committed Apr 17, 2024
1 parent 9e7505e commit 2c51c32
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions .github/workflows/frontend_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: Frontend Build
on:
push:
branches: [ master ]
paths:
- 'frontend/**'
pull_request:
branches: [ master ]
paths:
- 'frontend/**'

jobs:
Build_On_Ubuntu:
Expand All @@ -15,15 +19,14 @@ jobs:

strategy:
matrix:
node-version: [16.14.2]

node-version: [ 16.14.2, 16, 18, 20 ]

steps:
- name: Checkout repository
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -35,4 +38,5 @@ jobs:
- name: Build
run: |
cd frontend/
npm run build
npm run build

0 comments on commit 2c51c32

Please sign in to comment.