diff --git a/.github/workflows/npm-gulp.yml b/.github/workflows/npm-gulp.yml new file mode 100644 index 0000000..ea1bd2e --- /dev/null +++ b/.github/workflows/npm-gulp.yml @@ -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