Skip to content

Commit

Permalink
Upgrade Node to 20
Browse files Browse the repository at this point in the history
  • Loading branch information
kylewelsby committed Feb 9, 2024
1 parent 43185a1 commit c8f81ae
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ module.exports = {
browser: true,
node: true
},
ignorePatterns: ["cypress/*"],
rules: {
'vue/multi-word-component-names': 'off',
},
Expand Down
10 changes: 5 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
jobs:
setup:
name: Setup 📦
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
NUXT_TELEMETRY_DISABLED: 1
CYPRESS_INSTALL_BINARY: 0
Expand All @@ -20,7 +20,7 @@ jobs:
- name: Setup node env 🏗
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: 'yarn'

- name: Install dependencies 👨🏻‍💻
Expand All @@ -33,11 +33,11 @@ jobs:
node_modules
.cache/Cypress
./*
key: ubuntu-20.04-node-v16-app-${{ github.sha }}
key: ubuntu-22.04-node-v16-app-${{ github.sha }}
lint:
name: Lint 🚨
needs: setup
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
env:
NUXT_TELEMETRY_DISABLED: 1
CI: 1
Expand All @@ -48,7 +48,7 @@ jobs:
- name: Setup node env 🏗
uses: actions/setup-node@v3
with:
node-version: 16
node-version: 20
cache: 'yarn'

- name: Cache workspace 📦
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# syntax = docker/dockerfile:1

# Adjust NODE_VERSION as desired
ARG NODE_VERSION=16.20.2
ARG NODE_VERSION=20.11.0
FROM node:${NODE_VERSION}-slim as builder

LABEL fly_launch_runtime="Node.js"
Expand Down

0 comments on commit c8f81ae

Please sign in to comment.