Skip to content

Commit

Permalink
Create test-build.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
janbrasna authored Oct 4, 2024
1 parent 5b0c9d0 commit dd48ea4
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: test-build

on:
workflow_dispatch: # allow manual runs
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 22.x]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Test Node ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: npm ci
- name: Build with Webpack
run: npm run build

0 comments on commit dd48ea4

Please sign in to comment.