Skip to content

Commit

Permalink
refactor: release build and ci with node 18
Browse files Browse the repository at this point in the history
  • Loading branch information
lidel committed Nov 21, 2022
1 parent 830ae1f commit c99ad58
Show file tree
Hide file tree
Showing 5 changed files with 5,729 additions and 6,629 deletions.
1 change: 0 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,3 @@
/node_modules
/add-on/dist
/firefox
/package-lock.json
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v1
with:
node-version: 14
node-version: 18

- name: patch node gyp on windows to support Visual Studio 2019
shell: powershell
if: runner.os == 'Windows'
Expand All @@ -34,17 +34,17 @@ jobs:
id: cache
with:
path: ${{ github.workspace }}/.cache
key: ${{ runner.os }}-${{ hashFiles('package*json', 'yarn.lock', '*config.js') }}
key: ${{ runner.os }}-${{ hashFiles('package*json', 'package-lock.json', '*config.js') }}
restore-keys: |
${{ runner.os }}-${{ hashFiles('package*json', 'yarn.lock', '*config.js') }}
${{ runner.os }}-${{ hashFiles('package*json', 'package-lock.json', '*config.js') }}
${{ runner.os }}-
- name: Restore node_modules
id: yarn-cache
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: ${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:16.13.1
FROM node:18.12.1

ARG USER_ID
ARG GROUP_ID
Expand Down
Loading

0 comments on commit c99ad58

Please sign in to comment.