Skip to content

Commit 88ba24e

Browse files
authoredApr 10, 2024
Merge pull request #3786 from project-koku/release_prod-stable.9506
Deployment commit for prod-stable
2 parents d19b038 + db8db34 commit 88ba24e

Some content is hidden

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

95 files changed

+251
-225
lines changed
 

‎.github/workflows/pull_request.yml

+27-7
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
# Run this workflow for PRs only. Travis is required to push via insights-frontend-builder-common scripts
2-
31
name: Pull request
42
on:
53
pull_request:
6-
branches: [ main, master, prod-beta, prod-stable, stage-beta, stage-stable ]
4+
branches:
5+
- main
6+
- master
7+
- prod-beta
8+
- prod-stable
9+
- stage-beta
10+
- stage-stable
711
env:
812
BRANCH: ${{ github.base_ref }}
913

@@ -16,14 +20,16 @@ jobs:
1620
node-version: [18]
1721
steps:
1822
- name: Checkout code
19-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
24+
2025
- name: Setup Node.js ${{ matrix.node-version }}
21-
uses: actions/setup-node@v3
26+
uses: actions/setup-node@v4
2227
with:
2328
node-version: ${{ matrix.node-version }}
29+
2430
- name: Cache node modules
2531
id: cache-npm
26-
uses: actions/cache@v3
32+
uses: actions/cache@v4
2733
env:
2834
cache-name: cache-node-modules
2935
with:
@@ -34,13 +40,27 @@ jobs:
3440
${{ runner.os }}-build-${{ env.cache-name }}-
3541
${{ runner.os }}-build-
3642
${{ runner.os }}-
43+
3744
- name: Install dependencies
3845
run: npm install
46+
3947
- name: Build
4048
run: npm run build
49+
4150
- name: Lint
4251
if: ${{ success() }}
4352
run: npm run lint
53+
4454
- name: Test
4555
if: ${{ success() }}
46-
run: npm test --coverage --maxWorkers=4
56+
run: npm test -- --collect-coverage --max-workers=4
57+
58+
- name: Upload coverage report
59+
if: ${{ success() }}
60+
uses: codecov/codecov-action@v4.2.0
61+
env:
62+
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
63+
with:
64+
directory: coverage
65+
plugin: pycoverage # Only run one plugin so that all do not run. There is no way to disable plugins entirely.
66+

‎.github/workflows/stale.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
issues: write
1313
pull-requests: write
1414
steps:
15-
- uses: actions/stale@v5
15+
- uses: actions/stale@v9
1616
with:
1717
days-before-issue-close: 14
1818
days-before-issue-stale: 30

0 commit comments

Comments
 (0)