Skip to content
Open
54 changes: 54 additions & 0 deletions .github/workflows/npm-gulp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: NodeJS with Gulp

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

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: Buildname: Main

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Release
uses: softprops/action-gh-release@v2- name: Bytebase Create Plan From Release
uses: bytebase/create-plan-from-release-action@v1.0.1 - name: Add To GitHub projects
uses: actions/add-to-project@v1.0.2
with:
# URL of the project to add issues to
project-url:
# A GitHub personal access token with write access to the project
github-token:
# A comma-separated list of labels to use as a filter for issue to be added
labeled: # optional
# 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)
label-operator: # optional

run: |
npm install
gulp
54 changes: 54 additions & 0 deletions .github/workflows/setup npm-gulp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: NodeJS with Gulp

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

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: Buildname: Main

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Release
uses: softprops/action-gh-release@v2- name: Bytebase Create Plan From Release
uses: bytebase/create-plan-from-release-action@v1.0.1 - name: Add To GitHub projects
uses: actions/add-to-project@v1.0.2
with:
# URL of the project to add issues to
project-url:
# A GitHub personal access token with write access to the project
github-token:
# A comma-separated list of labels to use as a filter for issue to be added
labeled: # optional
# 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)
label-operator: # optional

run: |
npm install
gulp
54 changes: 54 additions & 0 deletions .github/workflows/setupnpm-gulp.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: NodeJS with Gulp

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

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: Buildname: Main

on:
push:
tags:
- "v*.*.*"

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Release
uses: softprops/action-gh-release@v2- name: Bytebase Create Plan From Release
uses: bytebase/create-plan-from-release-action@v1.0.1 - name: Add To GitHub projects
uses: actions/add-to-project@v1.0.2
with:
# URL of the project to add issues to
project-url:
# A GitHub personal access token with write access to the project
github-token:
# A comma-separated list of labels to use as a filter for issue to be added
labeled: # optional
# 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)
label-operator: # optional

run: |
npm install
gulp
30 changes: 30 additions & 0 deletions automation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
jobs:
# Build job
build:
# Specify runner + build & upload the static files as an artifact
runs-on: ubuntu-latest
steps:
- name: Build static files
id: build
run: |
# <Not provided for brevity>
# At a minimum this step should build the static files of your site
# <Not provided for brevity>

- name: Upload static files as artifact
id: deployment
uses: actions/upload-pages-artifact@v3 # or specific "vX.X.X" version tag for this action
with:
path: build_outputs_folder/

# Deployment job
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
1 change: 1 addition & 0 deletions check-out.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
gh pr checkout 737
21 changes: 21 additions & 0 deletions release build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Main

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Build
run: echo ${{ github.sha }} > Release.txt
- name: Test
run: cat Release.txt
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files: |
Release.txt
LICENSE
19 changes: 19 additions & 0 deletions releasepackage
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Main

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Build
run: echo ${{ github.sha }} > Release.txt
- name: Test
run: cat Release.txt
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files: Release.txt
13 changes: 13 additions & 0 deletions tags.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: Main

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v5
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
21 changes: 21 additions & 0 deletions upload-release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: Main

on: push

jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
- name: Build
run: echo ${{ github.sha }} > Release.txt
- name: Test
run: cat Release.txt
- name: Release
uses: softprops/action-gh-release@v2
if: github.ref_type == 'tag'
with:
files: |
Release.txt
LICENSE