From f929b2cd5bba26c1db17acfffa8d7809b1d86747 Mon Sep 17 00:00:00 2001 From: Jarkko Toivanen Date: Wed, 20 Mar 2024 15:40:43 +0200 Subject: [PATCH] Update .forgejo/workflows/buildpush.yaml --- .forgejo/workflows/buildpush.yaml | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/.forgejo/workflows/buildpush.yaml b/.forgejo/workflows/buildpush.yaml index 8240677..fde840d 100644 --- a/.forgejo/workflows/buildpush.yaml +++ b/.forgejo/workflows/buildpush.yaml @@ -4,21 +4,15 @@ on: push jobs: - build: + checkout: runs-on: docker steps: - - uses: https://github.com/actions/checkout@v4 - - name: Use Node.js - uses: https://github.com/actions/setup-node@v3 - with: - node-version: '18.17' - - run: npm ci - env: - NODE_OPTIONS: --max_old_space_size=4096 + - name: Checkout + - uses: https://github.com/actions/checkout@v4 - publish: + build and push: runs-on: ubuntu-latest - needs: build + needs: checkout steps: - name: Login to Docker Hub uses: docker/login-action@v3