Skip to content

Commit

Permalink
Update Node dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
AlfredoRamos committed Dec 17, 2023
1 parent 66b5c98 commit f6e365a
Show file tree
Hide file tree
Showing 5 changed files with 849 additions and 3,588 deletions.
48 changes: 12 additions & 36 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,12 @@ jobs:
working-directory: phpBB3
run: .github/setup-phpbb.sh $DB $PHP_VERSION $NOTESTS

- name: Setup Node cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
node-version-file: 'extension/.tool-versions'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Install Node dependencies
working-directory: extension
Expand Down Expand Up @@ -195,18 +189,12 @@ jobs:
working-directory: phpBB3
run: .github/setup-phpbb.sh $DB $PHP_VERSION $NOTESTS

- name: Setup Node cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
node-version-file: 'extension/.tool-versions'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Install Node dependencies
working-directory: extension
Expand Down Expand Up @@ -301,18 +289,12 @@ jobs:
working-directory: phpBB3
run: .github/setup-phpbb.sh $DB $PHP_VERSION $NOTESTS

- name: Setup Node cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
node-version-file: 'extension/.tool-versions'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Install Node dependencies
working-directory: extension
Expand Down Expand Up @@ -347,18 +329,12 @@ jobs:
with:
path: extension

- name: Setup Node cache
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: '18'
node-version-file: 'extension/.tool-versions'
cache: 'npm'
cache-dependency-path: '**/package-lock.json'

- name: Install Node dependencies
working-directory: extension
Expand Down
1 change: 1 addition & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodejs 21.2.0
1 change: 1 addition & 0 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@
<delete file="${dir}/.gitattributes" />
<delete file="${dir}/.editorconfig" />
<delete file="${dir}/.stylelintrc.json" />
<delete file="${dir}/.tool-versions" />
<delete file="${dir}/build.xml" />
<delete file="${dir}/crowdin.yml" />
<delete file="${dir}/phpunit.xml.dist" />
Expand Down
Loading

0 comments on commit f6e365a

Please sign in to comment.