Skip to content

Commit b64fb73

Browse files
committed
chore: bump to node 18
1 parent 73041d2 commit b64fb73

2 files changed

Lines changed: 17 additions & 8 deletions

File tree

.github/workflows/cicd.yml

Lines changed: 16 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: CICD
22
on:
33
pull_request:
4-
branches:
4+
branches:
55
- master
66
push:
77
branches: []
@@ -28,7 +28,7 @@ jobs:
2828
- uses: actions/setup-node@v3
2929
with:
3030
check-latest: true
31-
node-version: '16.x'
31+
node-version: '18.x'
3232
- uses: bahmutov/npm-install@v1
3333
- run: echo yarn lint # disable for now
3434

@@ -49,7 +49,7 @@ jobs:
4949
uses: actions/setup-node@v3
5050
with:
5151
check-latest: true
52-
node-version: '16.x'
52+
node-version: '18.x'
5353
- if: ${{ steps.cache.outputs.cache-hit != 'true'}}
5454
uses: bahmutov/npm-install@v1
5555
- if: ${{ steps.cache.outputs.cache-hit != 'true'}}
@@ -77,7 +77,7 @@ jobs:
7777
- uses: actions/setup-node@v3
7878
with:
7979
check-latest: true
80-
node-version: '16.x'
80+
node-version: '18.x'
8181
- uses: bahmutov/npm-install@v1
8282
- run: yarn test --ci --coverage --maxWorkers=2
8383
- uses: codecov/codecov-action@v3
@@ -139,12 +139,18 @@ jobs:
139139
- uses: docker/setup-qemu-action@v3
140140
- uses: docker/setup-buildx-action@v3
141141
- uses: docker/login-action@v3
142-
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'hertzg/rtl_433_docker' }}
142+
if:
143+
${{ github.event_name != 'pull_request' ||
144+
github.event.pull_request.head.repo.full_name ==
145+
'hertzg/rtl_433_docker' }}
143146
with:
144147
username: ${{ secrets.DOCKERHUB_USERNAME }}
145148
password: ${{ secrets.DOCKERHUB_TOKEN }}
146149
- uses: docker/login-action@v3
147-
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'hertzg/rtl_433_docker' }}
150+
if:
151+
${{ github.event_name != 'pull_request' ||
152+
github.event.pull_request.head.repo.full_name ==
153+
'hertzg/rtl_433_docker' }}
148154
with:
149155
registry: ghcr.io
150156
username: ${{ github.repository_owner }}
@@ -223,7 +229,10 @@ jobs:
223229
github-token: ${{ secrets.GITHUB_TOKEN }}
224230

225231
docker-push:
226-
if: ${{ github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'hertzg/rtl_433_docker' }}
232+
if:
233+
${{ github.event_name != 'pull_request' ||
234+
github.event.pull_request.head.repo.full_name == 'hertzg/rtl_433_docker'
235+
}}
227236
needs:
228237
- test
229238
- docker

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16-alpine3.15 AS base
1+
FROM node:18-alpine3.15 AS base
22
RUN apk add --no-cache tini #curl
33
WORKDIR /app
44
COPY ./public/ ./public/

0 commit comments

Comments
 (0)