[Snyk] Fix for 1 vulnerabilities #1113
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: CLI | |
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '!*' | |
pull_request: | |
env: | |
TURBO_REMOTE_ONLY: 'true' | |
TURBO_TEAM: 'vercel' | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }} | |
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }} | |
jobs: | |
test: | |
name: CLI | |
timeout-minutes: 40 | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
node: [14] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- uses: actions/setup-go@v3 | |
with: | |
go-version: '1.18' | |
- uses: actions/setup-node@v3 | |
timeout-minutes: 5 # See https://github.com/actions/cache/issues/810 | |
with: | |
node-version: ${{ matrix.node }} | |
- uses: actions/cache@v3 | |
with: | |
path: '**/node_modules' | |
key: pnpm-${{ matrix.os }}-${{ matrix.node }}-${{ hashFiles('pnpm-lock.yaml') }} | |
restore-keys: pnpm-${{ matrix.os }}-${{ matrix.node }} | |
- name: install pnpm@7.24.2 | |
run: npm i -g pnpm@7.24.2 | |
- run: pnpm install | |
- run: pnpm run build | |
- run: pnpm test-integration-cli | |
env: | |
VERCEL_TEST_TOKEN: ${{ secrets.VERCEL_TEST_TOKEN }} | |
VERCEL_TEST_REGISTRATION_URL: ${{ secrets.VERCEL_TEST_REGISTRATION_URL }} |