Skip to content

Refactor and clean up GHA workflows #9

Refactor and clean up GHA workflows

Refactor and clean up GHA workflows #9

Workflow file for this run

name: Deployment (Staging)
on:
push:
branches:
- '*'
jobs:
Test:
runs-on: ubuntu-latest
environment: Staging
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: latest
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: latest
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Run tests
run: pnpm test
Deploy:

Check failure on line 29 in .github/workflows/sst.staging.yml

View workflow run for this annotation

GitHub Actions / Deployment (Staging)

Invalid workflow file

The workflow is not valid. .github/workflows/sst.staging.yml (Line: 29, Col: 3): Error calling workflow 'sgcarstrends/updater/.github/workflows/sst.deploy.yml@806f198b0e711d029e5e2e26323dca70fb96b46b'. The nested job 'Deployer' is requesting 'id-token: write', but is only allowed 'id-token: none'.
needs: Test
uses: ./.github/workflows/sst.deploy.yml
with:
environment: Staging
sst-stage: staging
secrets: inherit