Skip to content

Commit

Permalink
chore: reverse condition
Browse files Browse the repository at this point in the history
  • Loading branch information
rgwozdz committed Feb 26, 2024
1 parent 5e1255c commit 0906883
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/ci-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,22 +29,23 @@ jobs:
with:
node-version: ${{ matrix.node-version }}

# Skip steps if actor is CI Agent, which makes automated commits for version bumping and coverage data
- name: Install npm 7
if: github.triggering_actor == 'CI Agent'
if: github.triggering_actor != 'CI Agent'
run: npm i -g npm@7 --registry=https://registry.npmjs.org

- name: Install
if: github.triggering_actor == 'CI Agent'
if: github.triggering_actor != 'CI Agent'
run: npm ci

- name: Lint
if: github.triggering_actor == 'CI Agent'
if: github.triggering_actor != 'CI Agent'
run: npm run lint:ci

- name: Unit tests
if: github.triggering_actor == 'CI Agent'
if: github.triggering_actor != 'CI Agent'
run: npm test --workspaces

- name: E2E tests
if: github.triggering_actor == 'CI Agent'
if: github.triggering_actor != 'CI Agent'
run: npm run test:e2e

0 comments on commit 0906883

Please sign in to comment.