Skip to content

Commit 9bb7058

Browse files
[FSSDK-12169] Build system update (#314)
1 parent bf4fb61 commit 9bb7058

12 files changed

Lines changed: 494 additions & 382 deletions

File tree

.github/workflows/integration_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout branch
15-
uses: actions/checkout@v3
15+
uses: actions/checkout@v4
1616
with:
1717
token: ${{ secrets.CI_USER_TOKEN || secrets.GITHUB_TOKEN }}
1818
repository: 'optimizely/travisci-tools'

.github/workflows/react.yml

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,14 @@ jobs:
1515
node: [ '18', '20', '22', '24' ]
1616
steps:
1717
- name: Checkout branch
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919
- name: Set up Node ${{ matrix.node }}
20-
uses: actions/setup-node@v3
20+
uses: actions/setup-node@v4
2121
with:
2222
node-version: ${{ matrix.node }}
23+
cache: 'npm'
2324
- name: Install dependencies
24-
run: npm install
25+
run: npm ci
2526
- name: Run tests
2627
run: npm test
2728

@@ -30,11 +31,11 @@ jobs:
3031
runs-on: ubuntu-latest
3132
needs: [ unitTests ]
3233
steps:
33-
- uses: actions/checkout@v3
34+
- uses: actions/checkout@v4
3435
- uses: ArtiomTr/jest-coverage-report-action@v2
3536
with:
3637
custom-title: 'Jest Coverage Report'
37-
package-manager: 'yarn'
38+
package-manager: 'npm'
3839

3940
integration_tests:
4041
name: Run integration tests

.github/workflows/react_release.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,17 @@ jobs:
1313
uses: actions/checkout@v4
1414

1515
- name: Set up Node
16-
uses: actions/setup-node@v3
16+
uses: actions/setup-node@v4
1717
with:
1818
node-version: 18
1919
registry-url: "https://registry.npmjs.org/"
2020
always-auth: "true"
21+
cache: 'npm'
2122
env:
2223
NODE_AUTH_TOKEN: ${{ secrets.PUBLISH_REACT_TO_NPM_FROM_GITHUB }}
2324

2425
- name: Install dependencies
25-
run: npm install
26+
run: npm ci
2627

2728
- id: npm-tag
2829
name: Determine NPM tag

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ lib
77
.npmrc
88
dist/
99
build/
10+
.build/
1011
.rpt2_cache
1112
.env
1213

0 commit comments

Comments
 (0)