Skip to content

Commit aecf3af

Browse files
chore(workflow): run build step in ci pipeline for PR (#61)
* chore(workflow): run build step in ci pipeline for PR Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> * chore(workflow): run build step in ci pipeline for PR Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> * chore(workflow): run build step in ci pipeline for PR Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> * chore(workflow): run build step in ci pipeline for PR Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> * chore(workflow): run build step in ci pipeline for PR Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com> --------- Signed-off-by: sanketshevkar <shevkar.sanket@gmail.com>
1 parent acb2b44 commit aecf3af

File tree

2 files changed

+32
-2
lines changed

2 files changed

+32
-2
lines changed

.github/workflows/build-and-publish.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77

88
jobs:
99

10-
build:
11-
10+
publish:
11+
name: Deploy playground
1212
runs-on: ubuntu-latest
1313
env:
1414
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}

.github/workflows/pr-check.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: PR Check
2+
3+
on:
4+
pull_request:
5+
branches:
6+
- main
7+
8+
jobs:
9+
build:
10+
name: Build playground
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [18.x]
16+
17+
steps:
18+
- name: Checkout code
19+
uses: actions/checkout@v2
20+
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v1
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
26+
- name: NPM Install
27+
run: npm install
28+
29+
- name: NPM Build
30+
run: SERVER_ROOT=https://playground.accordproject.org && NODE_OPTIONS=--max_old_space_size=8192 npm run build

0 commit comments

Comments
 (0)