Skip to content

Commit

Permalink
fix: CI: checkout submodules
Browse files Browse the repository at this point in the history
  • Loading branch information
Sv443 committed Jan 15, 2024
1 parent 1d75eae commit 5443d3b
Show file tree
Hide file tree
Showing 4 changed files with 23 additions and 16 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- run: echo "TODO"
# - uses: actions/checkout@v3
# with:
# submodules: recursive
# - uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/build-deploy-stage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
steps:
- run: echo "TODO"
# - uses: actions/checkout@v3
# with:
# submodules: recursive
# - uses: actions/setup-node@v3
# with:
# node-version: ${{ matrix.node-version }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/lint-and-analyze.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:

steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
Expand Down
33 changes: 17 additions & 16 deletions .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ name: Node CI
on:
pull_request:
# The branches below must be a subset of the branches above
branches: [ master ] # runs on every push

branches: [master] # runs on every push

jobs:
validate:
Expand All @@ -19,17 +18,19 @@ jobs:
node-version: [18.x]

steps:
- uses: actions/checkout@v3 # checkout latest commit

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
npm i -g tsc
npm ci
- name: Run ESLint
run: npm run lint
- uses: actions/checkout@v3 # checkout latest commit
with:
submodules: recursive

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install dependencies
run: |
npm i -g tsc
npm ci
- name: Run ESLint
run: npm run lint

0 comments on commit 5443d3b

Please sign in to comment.