-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update dev deps, switch to npm (#85)
* yarn -> npm, bump dev deps * Use npm@7 for CI * Fine then, get npm@7 via node 15 * Set npm version for docs rebuilds as well
- Loading branch information
Showing
7 changed files
with
3,421 additions
and
1,309 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,12 +12,13 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 15 # earliest node that ships with npm@7 | ||
|
||
- name: Install dependencies | ||
run: | | ||
# Direct dependencies | ||
yarn install | ||
# Peer dependencies | ||
npm i --no-save [email protected] | ||
npm ci | ||
- name: Generate and push documentation | ||
env: | ||
|
@@ -36,7 +37,7 @@ jobs: | |
cd .. | ||
# Generate documentation file and add file to list of versions | ||
yarn run typedoc src/Yuuko.ts --out ".temp/docs/$TAG_NAME" --readme none | ||
npx typedoc src/Yuuko.ts --out ".temp/docs/$TAG_NAME" --readme none | ||
echo "- '$TAG_NAME'" >> .temp/_data/docs.yml | ||
# Add generated files that start with underscores to Jekyll `include` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,20 +12,21 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v1 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: 15 # earliest node that ships with npm@7 | ||
|
||
- name: Install dependencies | ||
run: | | ||
# Direct dependencies | ||
yarn install | ||
# Peer dependencies | ||
npm i --no-save [email protected] | ||
npm ci | ||
- name: Run ESLint | ||
run: | | ||
yarn run lint | ||
npm run lint | ||
- name: Build Typescript | ||
run: | | ||
yarn run build | ||
npm run build | ||
- name: Push build artifacts | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
node_modules | ||
_site | ||
.jekyll-cache | ||
yarn-error.log | ||
.DS_STORE | ||
.vscode | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.