Skip to content

Commit

Permalink
Merge pull request #69 from ether/bump/node
Browse files Browse the repository at this point in the history
Updated to node 20
  • Loading branch information
SamTV12345 authored Oct 14, 2023
2 parents fdf018e + 7bf092d commit bcf0105
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 4 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/backend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 npm@6.14.18 -g
name: Install legacy npm for correct dependency resolution
-
name: Install plugin dependencies
run: |
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/frontend-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,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 npm@6.14.18 -g
name: Install legacy npm for correct dependency resolution
-
name: Check out the plugin
uses: actions/checkout@v3
Expand Down
8 changes: 6 additions & 2 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 npm@6.14.18 -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
Expand Down Expand Up @@ -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 npm@6.14.18 -g
name: Install legacy npm for correct dependency resolution
-
name: Bump version (patch)
run: |
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
.ep_initialized
node_modules/
.idea

0 comments on commit bcf0105

Please sign in to comment.