-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (42 loc) · 1.23 KB
/
Copy pathrelease.yml
File metadata and controls
44 lines (42 loc) · 1.23 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
name: Release
on:
push:
branches:
- release
jobs:
release:
name: Release Package
runs-on: ubuntu-22.04
environment: release
permissions:
contents: read
id-token: write
steps:
- uses: actions/checkout@v6
- name: Install 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: Code check
run: npm run code-check
- name: Release to npm registry
run: |
pnpm publish --filter @audira/carbon-react-native-elements --access public --no-git-checks
pnpm publish --filter @audira/carbon-react-native --access public --no-git-checks