Skip to content

Commit

Permalink
fix: sonarcloud properties and pnpm on post-deployment workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
simonrose121 committed Aug 22, 2024
1 parent f581609 commit 93b8df1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 11 deletions.
20 changes: 12 additions & 8 deletions .github/workflows/post_deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,20 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Note we can't use caching here, because caching needs GITHUB_REF to be defined,
# and Vercel deployment_status events set deployment.ref to the SHA, not the triggering
# branch or pull request.
# https://github.com/actions/cache/issues/319
- name: Use Node.js

- name: Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8

- name: Setup Node 20
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: "npm"
- run: npm ci
node-version: 20
cache: "pnpm"

- name: Install deps (with cache)
run: pnpm install

- uses: ./.github/actions/ref_from_sha
name: Get PR Ref from SHA
Expand Down
6 changes: 3 additions & 3 deletions sonar-project.properties
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
sonar.projectKey=oaknational_ai-experiments
sonar.projectKey=oaknational_oak-ai-lesson-assistant
sonar.organization=oaknational

sonar.projectName=Oak AI Projects
sonar.projectVersion=v1.38.0
sonar.projectName=oak-ai-lesson-assistant
sonar.projectVersion=v1.41.1
sonar.projectDescription=Oak National Academy AI Web Application
sonar.links.homepage=https://labs.thenational.academy/

Expand Down

0 comments on commit 93b8df1

Please sign in to comment.