Skip to content

Commit

Permalink
Create npm-gulp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
NickCrew authored Sep 11, 2024
1 parent 39e87ea commit d60af01
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/npm-gulp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: NodeJS with Gulp

on:
workflow_dispatch:
push:
branches: [ "main" ]
paths:
- src/*
pull_request:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v4

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

- name: Build
run: |
npm install
gulp
- name: Upload a Build Artifact
uses: actions/upload-artifact@v4.3.3
with:
name: ui-bundle.zip
path: build/ui-bundle.zip
if-no-files-found: error

0 comments on commit d60af01

Please sign in to comment.