Skip to content

Commit 01edee2

Browse files
authored
feat(*): updating updateIG command, adding pr verification (#906)
1 parent e89cb8e commit 01edee2

File tree

504 files changed

+1146
-1058
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

504 files changed

+1146
-1058
lines changed

.github/workflows/build-sb.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# This is a basic workflow to help you get started with Actions
2+
3+
name: Build Samples Browser
4+
5+
# Controls when the action will run. Triggers the workflow on push or pull request
6+
# events but only for the master branch
7+
on:
8+
push:
9+
branches: [ master, vnext ]
10+
pull_request:
11+
branches: [ master, vnext ]
12+
13+
jobs:
14+
# This workflow contains a single job called "build"
15+
build:
16+
# The type of runner that the job will run on
17+
runs-on: windows-latest
18+
19+
strategy:
20+
matrix:
21+
node-version: [20.x, 22.x]
22+
23+
# Steps represent a sequence of tasks that will be executed as part of the job
24+
steps:
25+
# Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
26+
- uses: actions/checkout@v3
27+
28+
- name: Use Node.js ${{ matrix.node-version }}
29+
uses: actions/setup-node@v3
30+
with:
31+
cache-dependency-path: browser/package-lock.json
32+
node-version: ${{ matrix.node-version }}
33+
cache: 'npm'
34+
35+
- name: Install dependencies
36+
run: npm ci
37+
working-directory: ./browser
38+
39+
- name: Build the samples browser to ensure it compiles
40+
run: cd browser && npm run build
41+
env:
42+
NODE_OPTIONS: "--max_old_space_size=4096"
43+
CI: false

0 commit comments

Comments
 (0)