-
Notifications
You must be signed in to change notification settings - Fork 0
45 lines (43 loc) · 1.14 KB
/
test-build.yml
File metadata and controls
45 lines (43 loc) · 1.14 KB
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
name: Test Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
test-build:
name: Test Build
runs-on: ubuntu-latest
environment: test-build
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- name: Use PNPM
uses: pnpm/action-setup@v5
with:
version: 10
cache: true
- name: Use Node.js
uses: actions/setup-node@v6
with:
node-version: '24'
registry-url: https://registry.npmjs.org/
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
- name: Validate Color Token
run: npm run validate-color-token
- name: Build carbon-react-native-elements
run: npm run packages-builder:carbon-react-native-elements
- name: Build carbon-react-native
run: npm run packages-builder:carbon-react-native
- name: Build Storybook
run: |
npm run init-ibm-fonts-storybook-web
npm run storybook-build
- name: Type Check and Lint Check
run: npm run code-check