fix: change node-version for composite setup action to 22, remove unnecessary installation of node from docker deployment (#1429)

This commit is contained in:
Meier Lukas
2024-11-05 21:06:40 +01:00
committed by GitHub
parent 7e1305c6a9
commit 319fb47744
2 changed files with 5 additions and 22 deletions

View File

@@ -33,9 +33,6 @@ jobs:
deploy: deploy:
name: Deploy docker image name: Deploy docker image
runs-on: ubuntu-latest runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20]
steps: steps:
- name: Discord notification - name: Discord notification
if: ${{ github.events.inputs.send-notifications != false }} if: ${{ github.events.inputs.send-notifications != false }}
@@ -57,21 +54,7 @@ jobs:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }} DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master uses: Ilshidur/action-discord@master
with: with:
args: "Semver computed next tag to be ${{ steps.semver.outputs.next }}. Current is ${{ steps.semver.outputs.current }}" args: "Semver computed next tag to be ${{ steps.semver.outputs.next }}. Current is ${{ steps.semver.outputs.current }}. Building images..."
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- name: Discord notification
if: ${{ github.events.inputs.send-notifications != false }}
env:
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
uses: Ilshidur/action-discord@master
with:
args: "Built application artifacts. Building images..."
- name: Log in to the Container registry - name: Log in to the Container registry
uses: docker/login-action@v3 uses: docker/login-action@v3
with: with:
@@ -90,9 +73,9 @@ jobs:
tags: | tags: |
type=raw,value=alpha type=raw,value=alpha
type=raw,value=early-adopters type=raw,value=early-adopters
# tags: | # tags: |
# type=raw,value=latest # type=raw,value=latest
# type=raw,value=${{ steps.semver.outputs.next }} # type=raw,value=${{ steps.semver.outputs.next }}
- name: Build and push - name: Build and push
id: buildPushAction id: buildPushAction
uses: docker/build-push-action@v6 uses: docker/build-push-action@v6

View File

@@ -7,7 +7,7 @@ runs:
- uses: pnpm/action-setup@v4 - uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4 - uses: actions/setup-node@v4
with: with:
node-version: 20 node-version: 22
cache: "pnpm" cache: "pnpm"
- shell: bash - shell: bash