Skip to content

Commit

Permalink
add: added a workflow for PR approval
Browse files Browse the repository at this point in the history
  • Loading branch information
VaibhavSharmaAtAgoda committed Jun 29, 2024
1 parent 245e7c5 commit 5bb489c
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/node.js.pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build site

on:
pull_request:
types: [opened, reopened]

jobs:
build:
runs-on: ubuntu-latest
environment: github-pages

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

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- name: Installing dependencies
run: npm install
- name: Build the website
run: npm run build

0 comments on commit 5bb489c

Please sign in to comment.