forked from esripdx/ep_padlist
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #55 from ether/bump/node
Bumped to node 20.
- Loading branch information
Showing
4 changed files
with
15 additions
and
17 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 |
---|---|---|
|
@@ -45,12 +45,14 @@ jobs: | |
- | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 12 | ||
node-version: 20 | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
src/package-lock.json | ||
src/bin/doc/package-lock.json | ||
node_modules/${{ steps.plugin_name.outputs.plugin_name }}/package-lock.json | ||
- run: npm install [email protected] -g | ||
name: Install legacy npm for correct dependency resolution | ||
- | ||
name: Install plugin dependencies | ||
run: | | ||
|
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 |
---|---|---|
|
@@ -7,19 +7,8 @@ on: [push] | |
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
if: ${{ github.actor != 'dependabot[bot]' }} | ||
steps: | ||
- | ||
name: Fail if Dependabot | ||
if: github.actor == 'dependabot[bot]' | ||
run: | | ||
cat <<EOF >&2 | ||
Frontend tests skipped because Dependabot can't access secrets. | ||
Manually re-run the jobs to run the frontend tests. | ||
For more information, see: | ||
https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/ | ||
EOF | ||
exit 1 | ||
- | ||
name: Generate Sauce Labs strings | ||
id: sauce_strings | ||
|
@@ -34,11 +23,13 @@ jobs: | |
- | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 12 | ||
node-version: 20 | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
src/package-lock.json | ||
src/bin/doc/package-lock.json | ||
- run: npm install [email protected] -g | ||
name: Install legacy npm for correct dependency resolution | ||
- | ||
name: Check out the plugin | ||
uses: actions/checkout@v3 | ||
|
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 |
---|---|---|
|
@@ -42,12 +42,14 @@ jobs: | |
- | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 12 | ||
node-version: 20 | ||
cache: 'npm' | ||
cache-dependency-path: | | ||
node_modules/ep_etherpad-lite/package-lock.json | ||
node_modules/ep_etherpad-lite/bin/doc/package-lock.json | ||
package-lock.json | ||
- run: npm install [email protected] -g | ||
name: Install legacy npm for correct dependency resolution | ||
# All of ep_etherpad-lite's devDependencies are installed because the | ||
# plugin might do `require('ep_etherpad-lite/node_modules/${devDep}')`. | ||
# Eventually it would be nice to create an ESLint plugin that prohibits | ||
|
@@ -83,9 +85,11 @@ jobs: | |
- | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 12 | ||
node-version: 20 | ||
registry-url: https://registry.npmjs.org/ | ||
cache: 'npm' | ||
- run: npm install [email protected] -g | ||
name: Install legacy npm for correct dependency resolution | ||
- | ||
name: Bump version (patch) | ||
run: | | ||
|
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,4 +1,5 @@ | ||
*~ | ||
.DS_Store | ||
node_modules | ||
node_modules/ | ||
node_modules/ | ||
.idea |