mirror of
https://github.com/caprover/caprover
synced 2026-05-04 02:30:30 +00:00
Testing build
This commit is contained in:
@@ -1,32 +0,0 @@
|
||||
name: Test Node multi-arch
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
jobs:
|
||||
run-pre-checks:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18
|
||||
- run: |
|
||||
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
|
||||
npm ci
|
||||
npm run build
|
||||
npm run lint
|
||||
npm run formatter
|
||||
npm run test
|
||||
build-publish-docker-hub:
|
||||
needs: run-pre-checks
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: azure/docker-login@v1
|
||||
with:
|
||||
username: ${{ secrets.REGISTRY_USERNAME }}
|
||||
password: ${{ secrets.REGISTRY_PASSWORD }}
|
||||
- uses: actions/checkout@v1
|
||||
- name: Build and Push Edge to DockerHub
|
||||
shell: bash
|
||||
run: ./test_build.sh
|
||||
Reference in New Issue
Block a user