Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions .github/workflows/nextjs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ permissions:
contents: read
pages: write
id-token: write
env:
GRAPHQL_TOKEN: ${{ secrets.GRAPHQL_TOKEN }}
ORGANIZATION_NAME: ${{ vars.ORGANIZATION_NAME }}
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
Expand All @@ -27,7 +24,13 @@ jobs:
# Build job
build:
runs-on: ubuntu-latest
timeout-minutes: 120
steps:
- uses: actions/create-github-app-token@67018539274d69449ef7c02e8e71183d1719ab42 # v2.1.4
id: generate_token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Checkout
uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v4
- name: Setup Node
Expand All @@ -37,18 +40,15 @@ jobs:
- name: Get current date
id: date
run: echo "DATE=$(date +'%Y-%m')" >> $GITHUB_ENV
- name: Restore conda downloads cache
uses: actions/cache@v4
with:
path: |
~/.dashboard
key: conda-download-cache-${{ env.DATE }}
Comment on lines -40 to -45
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For the benefit of future readers, we discussed this offline: this chunk was missed in #27, it's technically orthogonal to this PR.

- name: Collect metrics and save output
id: metrics
run: |
cd backend
npm i
npm run dev
env:
ORGANIZATION_NAME: ${{ vars.ORGANIZATION_NAME }}
GRAPHQL_TOKEN: ${{ steps.generate_token.outputs.token }}
- name: Detect package manager
id: detect-package-manager
run: |
Expand Down
Loading