Skip to content

fix: fixed workflow run #5

fix: fixed workflow run

fix: fixed workflow run #5

Workflow file for this run

name: 'Capture Growth Chart: verify app'
on:
push:
branches:
env:
NODE_VERSION: 18.x
jobs:
install_dependencies:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@v2
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Install Dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn install --frozen-lockfile
lint_code:
runs-on: ubuntu-latest
needs: install

Check failure on line 31 in .github/workflows/verify-app.yml

View workflow run for this annotation

GitHub Actions / Capture Growth Chart: verify app

Invalid workflow file

The workflow is not valid. .github/workflows/verify-app.yml (Line: 31, Col: 12): Job 'lint_code' depends on unknown job 'install'. .github/workflows/verify-app.yml (Line: 51, Col: 12): Job 'typescript_check' depends on unknown job 'install'.
if: "!contains(github.event.head_commit.message, '[skip ci]')"
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@v2
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Lint Code
run: yarn lint
typescript_check:
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[skip ci]')"
needs: install
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
- uses: actions/cache@v2
id: yarn-cache
with:
path: '**/node_modules'
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
- name: Typescript Check
run: yarn tsc:check