Skip to content

Commit

Permalink
chore: update CI
Browse files Browse the repository at this point in the history
chore: update ci
  • Loading branch information
Nick-1979 committed Dec 10, 2024
1 parent 45f2075 commit f2ef9df
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,16 @@ jobs:
run: |
corepack enable
corepack prepare [email protected] --activate
- name: Install Dependencies
- name: Install dependencies without immutable
run: yarn install

- name: Verify dependencies with immutable
run: |
if [[ "${{ github.actor }}" == "dependabot[bot]" ]] || git diff --exit-code yarn.lock; then
yarn install
else
yarn install --immutable
fi
set +e
yarn install --immutable
if [[ $? -ne 0 ]]; then
echo "Lockfile would be modified, skipping --immutable check"
fi
- run: yarn build
# - run: yarn lint
# - run: yarn test
Expand Down

0 comments on commit f2ef9df

Please sign in to comment.