Skip to content

Commit bd3b09a

Browse files
authored
Create setup npm-gulp.yml
1 parent 94500ec commit bd3b09a

File tree

1 file changed

+54
-0
lines changed

1 file changed

+54
-0
lines changed
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
name: NodeJS with Gulp
2+
3+
on:
4+
push:
5+
branches: [ "master" ]
6+
pull_request:
7+
branches: [ "master" ]
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [18.x, 20.x, 22.x]
16+
17+
steps:
18+
- uses: actions/checkout@v4
19+
20+
- name: Use Node.js ${{ matrix.node-version }}
21+
uses: actions/setup-node@v4
22+
with:
23+
node-version: ${{ matrix.node-version }}
24+
25+
- name: Buildname: Main
26+
27+
on:
28+
push:
29+
tags:
30+
- "v*.*.*"
31+
32+
jobs:
33+
build:
34+
runs-on: ubuntu-latest
35+
steps:
36+
- name: Checkout
37+
uses: actions/checkout@v5
38+
- name: Release
39+
uses: softprops/action-gh-release@v2- name: Bytebase Create Plan From Release
40+
uses: bytebase/[email protected] - name: Add To GitHub projects
41+
uses: actions/[email protected]
42+
with:
43+
# URL of the project to add issues to
44+
project-url:
45+
# A GitHub personal access token with write access to the project
46+
github-token:
47+
# A comma-separated list of labels to use as a filter for issue to be added
48+
labeled: # optional
49+
# The behavior of the labels filter, AND to match all labels, OR to match any label, NOT to exclude any listed label (default is OR)
50+
label-operator: # optional
51+
52+
run: |
53+
npm install
54+
gulp

0 commit comments

Comments
 (0)