Skip to content

Commit

Permalink
ci: run scripts on all projects instead of only affected
Browse files Browse the repository at this point in the history
  • Loading branch information
DecentM committed Sep 29, 2023
1 parent 541ca04 commit 93f7948
Showing 1 changed file with 8 additions and 9 deletions.
17 changes: 8 additions & 9 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,7 @@ jobs:
set -exu
yarn --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v3

- run: yarn nx affected --target=lint
- run: yarn nx run-many --target=lint

test:
name: test
Expand Down Expand Up @@ -82,9 +80,7 @@ jobs:
set -exu
yarn --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v3

- run: yarn nx affected --target=test
- run: yarn nx run-many --target=test

build:
name: build
Expand Down Expand Up @@ -125,10 +121,8 @@ jobs:
set -exu
yarn --frozen-lockfile --non-interactive
- uses: nrwl/nx-set-shas@v3

- name: Build packages
run: yarn nx affected --target=build
run: yarn nx run-many --target=build

- name: Upload build result
uses: actions/upload-artifact@v3
Expand All @@ -150,6 +144,11 @@ jobs:
run:
shell: bash

permissions:
repository-projects: write
pages: write
contents: write

steps:
- uses: actions/download-artifact@v3
with:
Expand Down

0 comments on commit 93f7948

Please sign in to comment.