Skip to content

Commit d9cd83e

Browse files
committed
ci: Change ci action
1 parent 774d641 commit d9cd83e

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/bump-version.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@ jobs:
1515
fetch-depth: 0
1616
- name: Npm install
1717
uses: ./.github/actions
18-
- run: npx nx affected -t lint test build --parallel=3 --exclude='test-npm' --base=origin/main~1 --head=origin/main
19-
# - run: npm nx affected -t e2e-ci --parallel=1
20-
# - run: npm nx affected -t deploy --no-agents
18+
- run: npx nx affected -t lint test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,shared-utils,json-shared-type,database,@nestjs-json-api/source'
19+
# - run: npm nx affected -t e2e-ci --parallel=1
20+
# - run: npm nx affected -t deploy --no-agents
2121

2222
bump-version:
2323
name: "Bump version"

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,6 @@ jobs:
1717
uses: ./.github/actions
1818
# This line is needed for nx affected to work when CI is running on a PR
1919
- run: git branch --track main origin/main
20-
- run: npx nx affected -t lint test build --parallel=3 --exclude='test-npm'
20+
- run: npx nx affected -t lint test build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,shared-utils,json-shared-type,database'
2121
# - run: npm nx affected -t e2e-ci --parallel=1
2222
# - run: npm nx affected -t deploy --no-agents

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,10 @@ jobs:
2525
fetch-depth: 0
2626
- name: Npm install
2727
uses: ./.github/actions
28-
- run: npx nx affected -t build --parallel=3 --exclude='test-npm' --base=origin/main~1 --head=origin/main
28+
- run: npx nx affected -t build --parallel=3 --exclude='json-api-front,json-api-server,json-api-server-e2e,shared-utils,json-shared-type,database'
2929
- name: Publish packages
3030
run: npx nx release publish
3131
shell: bash
32+
env:
33+
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
34+
NPM_CONFIG_PROVENANCE: true

0 commit comments

Comments
 (0)