Update .forgejo/workflows/buildpush.yaml
This commit is contained in:
parent
05d1b631d0
commit
f929b2cd5b
1 changed files with 5 additions and 11 deletions
|
@ -4,21 +4,15 @@ on:
|
|||
push
|
||||
|
||||
jobs:
|
||||
build:
|
||||
checkout:
|
||||
runs-on: docker
|
||||
steps:
|
||||
- name: Checkout
|
||||
- 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
|
||||
|
||||
publish:
|
||||
build and push:
|
||||
runs-on: ubuntu-latest
|
||||
needs: build
|
||||
needs: checkout
|
||||
steps:
|
||||
- name: Login to Docker Hub
|
||||
uses: docker/login-action@v3
|
||||
|
|
Loading…
Add table
Reference in a new issue