Skip to content

Commit 28cd9f9

Browse files
Add REACT_ON_RAILS_PRO_LICENSE secret to all Pro workflows
The Pro package requires the REACT_ON_RAILS_PRO_LICENSE environment variable for license validation. Added this secret to all Pro workflow jobs: - pro-lint.yml: lint-js-and-ruby job - pro-package-tests.yml: package-js-tests and rspec-package-specs jobs - pro-integration-tests.yml: build-dummy-app-webpack-test-bundles, rspec-dummy-app-node-renderer, and dummy-app-node-renderer-e2e-tests jobs The secret is passed using: ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
1 parent afcc3c1 commit 28cd9f9

File tree

3 files changed

+12
-0
lines changed

3 files changed

+12
-0
lines changed

.github/workflows/pro-integration-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414
# Build webpack test bundles for dummy app
1515
build-dummy-app-webpack-test-bundles:
1616
runs-on: ubuntu-22.04
17+
env:
18+
REACT_ON_RAILS_PRO_LICENSE: ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
1719
steps:
1820
- uses: actions/checkout@v4
1921
with:
@@ -101,6 +103,8 @@ jobs:
101103
# Test parallelization - split tests across 3 shards
102104
shard: [1, 2, 3]
103105
runs-on: ubuntu-22.04
106+
env:
107+
REACT_ON_RAILS_PRO_LICENSE: ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
104108
steps:
105109
- uses: actions/checkout@v4
106110
with:
@@ -260,6 +264,8 @@ jobs:
260264
dummy-app-node-renderer-e2e-tests:
261265
needs: build-dummy-app-webpack-test-bundles
262266
runs-on: ubuntu-22.04
267+
env:
268+
REACT_ON_RAILS_PRO_LICENSE: ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
263269
# Redis service container
264270
services:
265271
redis:

.github/workflows/pro-lint.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ defaults:
1313
jobs:
1414
lint-js-and-ruby:
1515
runs-on: ubuntu-22.04
16+
env:
17+
REACT_ON_RAILS_PRO_LICENSE: ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
1618
steps:
1719
- uses: actions/checkout@v4
1820
with:

.github/workflows/pro-package-tests.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
matrix:
1818
node-version: ['20', '22']
1919
runs-on: ubuntu-22.04
20+
env:
21+
REACT_ON_RAILS_PRO_LICENSE: ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
2022
steps:
2123
- uses: actions/checkout@v4
2224
with:
@@ -67,6 +69,8 @@ jobs:
6769
matrix:
6870
ruby-version: ['3.3.7']
6971
runs-on: ubuntu-22.04
72+
env:
73+
REACT_ON_RAILS_PRO_LICENSE: ${{ secrets.REACT_ON_RAILS_PRO_LICENSE }}
7074
steps:
7175
- uses: actions/checkout@v4
7276
with:

0 commit comments

Comments
 (0)