Skip to content

Commit 6af829f

Browse files
Create polygon_build.yml
1 parent edc620e commit 6af829f

File tree

1 file changed

+33
-0
lines changed

1 file changed

+33
-0
lines changed

.github/workflows/polygon_build.yml

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Polygon doc build
4+
5+
# Controls when the workflow will run
6+
on:
7+
# Triggers the workflow on push or pull request events but only for the develop branch
8+
pull_request:
9+
branches: [polygon]
10+
11+
workflow_dispatch:
12+
13+
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
14+
jobs:
15+
# This workflow contains a single job called "build"
16+
build:
17+
# The type of runner that the job will run on
18+
runs-on: ubuntu-latest
19+
20+
# Steps represent a sequence of tasks that will be executed as part of the job
21+
steps:
22+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
23+
- uses: actions/checkout@v2
24+
with:
25+
ref: polygon
26+
27+
# Runs a single command using the runners shell
28+
- name: INSTALL
29+
run: npm ci
30+
31+
# Runs a single command using the runners shell
32+
- name: Build
33+
run: npm run build

0 commit comments

Comments
 (0)