forked from juspay/hyper-sdk-react
-
Notifications
You must be signed in to change notification settings - Fork 0
31 lines (27 loc) · 717 Bytes
/
build.yml
File metadata and controls
31 lines (27 loc) · 717 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
name: Build
on:
pull_request_target:
branches:
- main
types:
- opened
- reopened
- edited
- synchronize
jobs:
build-on-pr:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}
fetch-depth: ${{ github.event.pull_request.commits }}
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 24
registry-url: "https://registry.npmjs.org"
- name: Install dependencies
run: yarn install --frozen-lockfile