Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename "prepare" script to "curate" to prevent auto-runs #914

Merged
merged 1 commit into from
Mar 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/curate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,12 @@ jobs:
# the curated branch
fetch-depth: 0

- name: Prepare curated and packages data
# Note that "ci" runs the "prepare" script
- name: Install dependencies
run: npm ci

- name: Prepare curated and packages data
run: npm run curate

- name: Test curated and packages data
run: npm run test

Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@ jobs:
- uses: actions/setup-node@v2
with:
node-version: '14'
- run: npm ci
- run: npm test
- name: Install dependencies
run: npm ci
- name: Prepare curated and packages data
run: npm run curate
- name: Test curated and packages data
run: npm test
env:
FORCE_COLOR: 3
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
},
"scripts": {
"create-patch": "node tools/create-patch.js",
"prepare": "node tools/prepare-curated.js ed curated && node tools/prepare-packages.js curated packages",
"curate": "node tools/prepare-curated.js ed curated && node tools/prepare-packages.js curated packages",
"test": "mocha --recursive",
"test-css": "mocha --recursive test/css",
"test-elements": "mocha --recursive test/elements",
Expand Down