Skip to content

Commit

Permalink
Merge pull request #304 from eficode/PGSSD-19-add-bom-creation
Browse files Browse the repository at this point in the history
Pgssd 19 add bom creation
  • Loading branch information
evolaine authored Oct 9, 2024
2 parents 46768d8 + c59b833 commit cc2278c
Show file tree
Hide file tree
Showing 5 changed files with 1,399 additions and 24 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,15 @@ jobs:
environment: dev
steps:
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Checkout merged code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Retrieve npm cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/build-and-deploy-on-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,15 @@ jobs:
environment: test
steps:
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Checkout merged code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Retrieve npm cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
Expand Down
13 changes: 8 additions & 5 deletions .github/workflows/build-and-test-on-pr.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
name: Build and run tests on PR
on:
on:
pull_request:
workflow_dispatch:

Expand All @@ -9,15 +9,15 @@ jobs:
environment: dev
steps:
- name: Install Node
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: '16'

- name: Checkout merged code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Retrieve npm cache
uses: actions/cache@v2
uses: actions/cache@v4
with:
path: |
~/.npm
Expand All @@ -42,6 +42,9 @@ jobs:
REACT_APP_FIREBASE_USE_EMULATORS: true
REACT_APP_ENV: dev

- name: Create BOM
run: npm run bom

- name: Lint functions
run: npm --prefix packages/functions run lint

Expand Down Expand Up @@ -92,7 +95,7 @@ jobs:
REACT_APP_FIREBASE_CONFIG_PROJECT_ID: ${{ secrets.REACT_APP_FIREBASE_CONFIG_PROJECT_ID }}

- name: Upload test videos on fail
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos
Expand Down
Loading

0 comments on commit cc2278c

Please sign in to comment.