Skip to content

Merge pull request #955 from input-output-hk/feat/apm #353

Merge pull request #955 from input-output-hk/feat/apm

Merge pull request #955 from input-output-hk/feat/apm #353

Workflow file for this run

name: Test and Build
on:
pull_request:
branches:
- main
push:
branches:
- main
jobs:
build:
name: Build and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- name: Install dependencies
run: npm ci
- name: Test
run: npm test
- name: Generates Secrets File
run: |
echo "export default { PROJECT_ID_MAINNET: '${{ secrets.PROJECT_ID_MAINNET }}', PROJECT_ID_PREVIEW: '${{ secrets.PROJECT_ID_PREVIEW }}', PROJECT_ID_PREPROD: '${{ secrets.PROJECT_ID_PREPROD }}'};" > secrets.production.js
- name: Build
run: npm run build
with:

Check failure on line 30 in .github/workflows/ci.yml

View workflow run for this annotation

GitHub Actions / Test and Build

Invalid workflow file

The workflow is not valid. .github/workflows/ci.yml (Line: 30, Col: 9): Unexpected value 'with'
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_DSN: ${{ vars.SENTRY_DSN }}
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
- name: Upload build
uses: actions/upload-artifact@v4
with:
name: build
path: build