Skip to content

Commit

Permalink
Attempt to fix github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
ivank committed Nov 16, 2023
1 parent a1b24e2 commit 8d524b9
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .github/actions/git-submodule/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,6 @@ runs:
using: 'composite'
steps:
- run: git submodule sync
shell: bash
- run: git submodule update --init
shell: bash
1 change: 1 addition & 0 deletions .github/actions/yarn-install/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ runs:
steps:
- name: Get yarn cache directory path
id: yarn-cache-dir-path
shell: bash
run: echo "dir=$(cd client && yarn config get cacheFolder)" >> $GITHUB_ENV

- name: Cache Dependencies
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '18.18.2'
- uses: ./.github/actions/yarn-install
- uses: ./.github/actions/git-submodule
- uses: .github/actions/yarn-install
- uses: .github/actions/git-submodule
- run: yarn build
- run: yarn lint
- run: yarn pretest
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '18.18.2'
- uses: ./.github/actions/yarn-install
- uses: ./.github/actions/git-submodule
- uses: .github/actions/yarn-install
- uses: .github/actions/git-submodule
- run: yarn build
- run: yarn lint
- run: yarn pretest
Expand Down

0 comments on commit 8d524b9

Please sign in to comment.