Skip to content

Commit

Permalink
Merge branch 'master' into docs/folder-path-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
chrismclarke authored Sep 12, 2024
2 parents fbf68b6 + 091b3a6 commit 00797a9
Show file tree
Hide file tree
Showing 22 changed files with 39 additions and 36 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deprecated/build-and-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
node-version: [20]

steps:
- name: Install crcmod
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deprecated/deployment-hosting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
echo "DEPLOYMENT_NAME=${{needs.build.outputs.DEPLOYMENT_NAME}}" >> $GITHUB_ENV
echo "GIT_SHA=${{needs.build.outputs.GIT_SHA}}" >> $GITHUB_ENV
- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: www
- name: Extract Build folder
Expand All @@ -52,7 +52,7 @@ jobs:
SENTRY_PROJECT: ${{env.DEPLOYMENT_NAME}}
continue-on-error: true
- name: Store sourcemaps artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sourcemaps-$GIT_SHA
path: www/*.map
Expand All @@ -65,7 +65,7 @@ jobs:
steps:
- uses: actions/checkout@v3
- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: www
- name: Extract Build folder
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deprecated/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16]
node-version: [20]

steps:
- name: Get PR Number
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/deprecated/sourcemaps-upload.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
- name: Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20.17.0
cache: 'yarn'
- name: Populate environment config
env:
Expand Down Expand Up @@ -60,7 +60,7 @@ jobs:
SENTRY_PROJECT: ${{env.DEPLOYMENT_NAME}}
continue-on-error: true
- name: Store sourcemaps artifact
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: sourcemaps-$SHA_SHORT
path: www/*.map
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deprecated/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- name: Node ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20.17.0
cache: 'yarn'
- name: Populate firebaseConfig.ts
env:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/documentation-lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20.17.0
cache: 'yarn'
- run: yarn install --immutable
- name: Spellcheck
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/reusable-android-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.17.0
- uses: actions/cache/restore@v3
id: cache
with:
Expand All @@ -104,7 +104,7 @@ jobs:
run: yarn workflow android

- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: www

Expand Down Expand Up @@ -134,7 +134,7 @@ jobs:
run: ./gradlew :app:assembleDebug

- name: Upload debug apk
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: debug_apk
path: android/app/build/outputs/apk/debug/app-debug.apk
Expand All @@ -155,7 +155,7 @@ jobs:
keyPassword: ${{ env.KEY_PASSWORD }}

- name: Upload release bundle
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: release_bundle
path: ${{steps.sign_aab.outputs.signedReleaseFile}}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-android-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:

- name: Download Build Artifact
id: download
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: release_bundle
path: ./
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/reusable-app-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,8 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version: 20.17.0


#############################################################################
# Node Modules
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-appetize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
- uses: actions/checkout@v3

- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: debug_apk
path: ./
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-content-sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.17.0

- name: Cache node modules
uses: actions/cache@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-deploy-pr-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- uses: actions/checkout@v3

- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: www

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/reusable-deploy-web-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
uses: ./.github/workflows/reusable-app-build.yml
secrets: inherit

# TODO - split post_build and deploy
deploy:
needs: build_action
runs-on: ubuntu-latest
Expand All @@ -55,7 +56,7 @@ jobs:
- uses: actions/checkout@v3

- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: www

Expand All @@ -64,6 +65,7 @@ jobs:
mkdir www
tar -xf artifact.tar --directory www
# TODO - use templated files
# Create a .firebaserc file mapping any firebase deployment host targets (required if multi-host projects)
# e.g. {"projects": {"default": "my_app"},"targets": {"my_app": {"hosting": {"my_app_dev":["my_app_dev"]} } }
- name: Populate Firebase Targets
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: www
- name: Extract Build folder
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/test-visual.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.17.0
- uses: actions/cache/restore@v3
id: cache
with:
Expand All @@ -55,7 +55,7 @@ jobs:
# Download build
#############################################################################
- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: www

Expand All @@ -79,7 +79,7 @@ jobs:

- name: Upload screenshots
if: ${{inputs.generate}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: screenshots-artifact # NOTE - must match SCREENSHOT_ARTIFACT_NAME in code
path: packages/test-visual/output/screenshots
Expand All @@ -95,7 +95,7 @@ jobs:

- name: Upload artifact
if: ${{inputs.compare}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: test-visual-diffs-artifact
path: packages/test-visual/output/diffs
Expand All @@ -104,7 +104,7 @@ jobs:

- name: Upload Text Outputs
if: ${{inputs.compare}}
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: text_output
path: packages/test-visual/output/*.txt
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/web-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.17.0

#############################################################################
# Node Modules
Expand Down Expand Up @@ -175,7 +175,7 @@ jobs:
# Use github pages upload artifact action to compress and upload
- name: Upload artifact
if: ${{!inputs.skip-upload}}
uses: actions/upload-pages-artifact@v1.0.8
uses: actions/upload-pages-artifact@v3
with:
path: "www/"
name: www
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v18
v20
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
2. Download and install [Git LFS](https://git-lfs.github.com/)
This will be used to download any required binary assets, such as images or pdfs

3. Download and install [Node](https://nodejs.org/en/download/) (choose v18.20.4)
This is the programming language required to run the project
3. Download and install [Node](https://nodejs.org/en/download/)
This is the programming language required to run the project. We currently support any of the versions prefixed `v20.x.x` or `v18.x.x`

4. Download and Install [Yarn](https://classic.yarnpkg.com/en/docs/install)
This manages all 3rd-party code dependencies
Expand Down
4 changes: 2 additions & 2 deletions documentation/docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
2. Download and install [Git LFS](https://git-lfs.github.com/)
This will be used to download any required binary assets, such as images or pdfs

3. Download and install [Node](https://nodejs.org/en/download/) (choose v18.20.4)
This is the programming language required to run the project
3. Download and install [Node](https://nodejs.org/en/download/)
This is the programming language required to run the project. We currently support any of the versions prefixed `v20.x.x` or `v18.x.x`

4. Download and Install [Yarn](https://classic.yarnpkg.com/en/docs/install)
This manages all 3rd-party code dependencies
Expand Down
4 changes: 2 additions & 2 deletions packages/actions/templates/app-build/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18.x
node-version: 20.17.0
- name: Cache node modules
uses: actions/cache@v3
with:
Expand All @@ -69,7 +69,7 @@ jobs:

# Use github pages upload artifact action to compress and upload
- name: Upload artifact
uses: actions/upload-pages-artifact@v1.0.8
uses: actions/upload-pages-artifact@v3
with:
path: "www/"
name: ${{inputs.artifact-name}}
Expand Down
2 changes: 1 addition & 1 deletion packages/actions/templates/deploy-firebase/template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
# Extract build artifact
- uses: actions/checkout@v3
- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: www
- name: Extract Build folder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
# Extract build artifact
- uses: actions/checkout@v3
- name: Download Build Artifact
uses: actions/download-artifact@v3
uses: actions/download-artifact@v4
with:
name: www
- name: Extract Build folder
Expand Down

0 comments on commit 00797a9

Please sign in to comment.