Skip to content

Commit

Permalink
chore(workflow): run build step in ci pipeline for PR (accordproject#61)
Browse files Browse the repository at this point in the history
* chore(workflow): run build step in ci pipeline for PR

Signed-off-by: sanketshevkar <[email protected]>

* chore(workflow): run build step in ci pipeline for PR

Signed-off-by: sanketshevkar <[email protected]>

* chore(workflow): run build step in ci pipeline for PR

Signed-off-by: sanketshevkar <[email protected]>

* chore(workflow): run build step in ci pipeline for PR

Signed-off-by: sanketshevkar <[email protected]>

* chore(workflow): run build step in ci pipeline for PR

Signed-off-by: sanketshevkar <[email protected]>

---------

Signed-off-by: sanketshevkar <[email protected]>
Signed-off-by: Vinyl-Davyl <[email protected]>
  • Loading branch information
sanketshevkar authored and Vinyl-Davyl committed Jun 21, 2024
1 parent 71bc1f0 commit 31b0f95
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ on:

jobs:

build:

publish:
name: Deploy playground
runs-on: ubuntu-latest
env:
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
Expand Down
30 changes: 30 additions & 0 deletions .github/workflows/pr-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: PR Check

on:
pull_request:
branches:
- main

jobs:
build:
name: Build playground
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x]

steps:
- name: Checkout code
uses: actions/checkout@v2

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

- name: NPM Install
run: npm install

- name: NPM Build
run: SERVER_ROOT=https://playground.accordproject.org && NODE_OPTIONS=--max_old_space_size=8192 npm run build

0 comments on commit 31b0f95

Please sign in to comment.