Skip to content

Commit 22cca23

Browse files
committed
fix: update circleci config to use persist_to_workspace
1 parent f8ce8ce commit 22cca23

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.circleci/config.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ commands:
3434
steps:
3535
- run:
3636
name: Broken link checker for changed files
37-
command: yarn changed-files-broken-link-checker:ci
37+
command: node scripts/changedFilesBrokenLinkChecker.js
3838

3939
jobs:
4040
build:
@@ -45,11 +45,19 @@ jobs:
4545
- run:
4646
name: Netlify Deploy
4747
command: ./node_modules/.bin/netlify deploy --site $NETLIFY_SITE_ID --auth $NETLIFY_ACCESS_TOKEN --dir=./dist
48+
- persist_to_workspace:
49+
root: ~/repo
50+
paths:
51+
- build/*
52+
- scripts/*
53+
- node_modules/*
4854

4955
link-check-changed-files:
5056
executor: node-executor
5157
working_directory: ~/repo
52-
steps:
58+
steps:
59+
- attach_workspace:
60+
at: ~/repo
5361
- link-check-changed-files
5462

5563
release:

0 commit comments

Comments
 (0)