Skip to content

Commit

Permalink
Update npm-gulp.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
rampatra authored Mar 1, 2023
1 parent a141d13 commit 2149dff
Showing 1 changed file with 28 additions and 28 deletions.
56 changes: 28 additions & 28 deletions .github/workflows/npm-gulp.yml
Original file line number Diff line number Diff line change
@@ -1,36 +1,36 @@
name: NodeJS with Gulp
# name: NodeJS with Gulp

on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
# on:
# push:
# branches: [ "master" ]
# pull_request:
# branches: [ "master" ]

permissions:
id-token: write # This is required for requesting the JWT
contents: write # This is required for actions/checkout
# permissions:
# id-token: write # This is required for requesting the JWT
# contents: write # This is required for actions/checkout

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

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

steps:
- uses: actions/checkout@v3
# steps:
# - uses: actions/checkout@v3

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

- name: Build
run: |
npm install
gulp
# - name: Build
# run: |
# npm install
# gulp

- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
# - name: Deploy to GitHub Pages
# id: deployment
# uses: actions/deploy-pages@v1

0 comments on commit 2149dff

Please sign in to comment.