Skip to content

Commit

Permalink
Replace unpinned actions with pinned action
Browse files Browse the repository at this point in the history
  • Loading branch information
stacklokbot committed Jan 24, 2024
1 parent 70a3bcd commit 4f7ba86
Showing 1 changed file with 10 additions and 16 deletions.
26 changes: 10 additions & 16 deletions .github/workflows/npm-gulp.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,21 @@
name: NodeJS with Gulp

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]

branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest

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

steps:
- uses: actions/checkout@v3

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

- name: Build
run: |
npm install
- uses: actions/checkout@f43a0e5ff2bd294095638e18286ca9a3d1956744 # v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@1a4442cacd436585916779262731d5b162bc6ec7 # v3
with:
node-version: ${{ matrix.node-version }}
- name: Build
run: |
npm install

0 comments on commit 4f7ba86

Please sign in to comment.