File tree Expand file tree Collapse file tree 4 files changed +15
-16
lines changed
Expand file tree Collapse file tree 4 files changed +15
-16
lines changed Original file line number Diff line number Diff line change @@ -45,12 +45,14 @@ jobs:
4545 -
4646 uses : actions/setup-node@v3
4747 with :
48- node-version : 12
48+ node-version : 20
4949 cache : ' npm'
5050 cache-dependency-path : |
5151 src/package-lock.json
5252 src/bin/doc/package-lock.json
5353 node_modules/${{ steps.plugin_name.outputs.plugin_name }}/package-lock.json
54+ -
run :
npm install [email protected] -g 55+ name : Install legacy npm for correct dependency resolution
5456 -
5557 name : Install plugin dependencies
5658 run : |
Original file line number Diff line number Diff line change @@ -7,19 +7,9 @@ on: [push]
77jobs :
88 test :
99 runs-on : ubuntu-latest
10+ if : ${{ github.actor != 'dependabot[bot]' }}
1011
1112 steps :
12- -
13- name : Fail if Dependabot
14- if : github.actor == 'dependabot[bot]'
15- run : |
16- cat <<EOF >&2
17- Frontend tests skipped because Dependabot can't access secrets.
18- Manually re-run the jobs to run the frontend tests.
19- For more information, see:
20- https://github.blog/changelog/2021-02-19-github-actions-workflows-triggered-by-dependabot-prs-will-run-with-read-only-permissions/
21- EOF
22- exit 1
2313 -
2414 name : Generate Sauce Labs strings
2515 id : sauce_strings
@@ -34,11 +24,13 @@ jobs:
3424 -
3525 uses : actions/setup-node@v3
3626 with :
37- node-version : 12
27+ node-version : 20
3828 cache : ' npm'
3929 cache-dependency-path : |
4030 src/package-lock.json
4131 src/bin/doc/package-lock.json
32+ -
run :
npm install [email protected] -g 33+ name : Install legacy npm for correct dependency resolution
4234 -
4335 name : Check out the plugin
4436 uses : actions/checkout@v3
Original file line number Diff line number Diff line change @@ -42,12 +42,14 @@ jobs:
4242 -
4343 uses : actions/setup-node@v3
4444 with :
45- node-version : 12
45+ node-version : 20
4646 cache : ' npm'
4747 cache-dependency-path : |
4848 node_modules/ep_etherpad-lite/package-lock.json
4949 node_modules/ep_etherpad-lite/bin/doc/package-lock.json
5050 package-lock.json
51+ -
run :
npm install [email protected] -g 52+ name : Install legacy npm for correct dependency resolution
5153 # All of ep_etherpad-lite's devDependencies are installed because the
5254 # plugin might do `require('ep_etherpad-lite/node_modules/${devDep}')`.
5355 # Eventually it would be nice to create an ESLint plugin that prohibits
8385 -
8486 uses : actions/setup-node@v3
8587 with :
86- node-version : 12
88+ node-version : 20
8789 registry-url : https://registry.npmjs.org/
8890 cache : ' npm'
91+ -
run :
npm install [email protected] -g 92+ name : Install legacy npm for correct dependency resolution
8993 -
9094 name : Bump version (patch)
9195 run : |
Original file line number Diff line number Diff line change 11.cache.json
22.ep_initialized
33node_modules
4- node_modules /
4+ node_modules /
5+ .idea
You can’t perform that action at this time.
0 commit comments