fix validate metadata example #2358
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: "CI actions: Build, Lint and Test" | |
on: | |
push: | |
branches: [main, "lens-v2"] | |
pull_request: | |
branches: [main, "lens-v2"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup pnpm | |
uses: pnpm/[email protected] | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: ".nvmrc" | |
cache: "pnpm" | |
- run: pnpm install --frozen-lockfile | |
- run: pnpm build | |
- run: pnpm lint | |
- name: Run tests | |
run: pnpm test | |
env: | |
SDK_GATED_TEST_PK: ${{secrets.SDK_GATED_TEST_PK}} | |
SDK_GATED_TEST_PROFILE_ID: ${{secrets.SDK_GATED_TEST_PROFILE_ID}} | |
SDK_GATED_TEST_PUBLICATION_ID: ${{secrets.SDK_GATED_TEST_PUBLICATION_ID}} | |
TESTING_ENV_URL: ${{secrets.TESTING_ENV_URL}} | |
TESTING_HEADER_KEY: ${{secrets.TESTING_HEADER_KEY}} | |
TESTING_HEADER_VALUE: ${{secrets.TESTING_HEADER_VALUE}} | |
- run: pnpm lint:examples |