Skip to content

remove docker stuff from push and publish workflows #52

remove docker stuff from push and publish workflows

remove docker stuff from push and publish workflows #52

Workflow file for this run

name: Push
on:
push:
branches:
# env:
# REGISTRY: ghcr.io
# DB_SHARD_1_INTERNAL_HOST: zygote-db-shard-1
# DB_SHARD_1_INTERNAL_PORT: 3306
# DB_SHARD_2_INTERNAL_HOST: zygote-db-shard-2
# DB_SHARD_2_INTERNAL_PORT: 3306
jobs:
build:
runs-on: ubuntu-latest
container:
image: ghcr.io/evgnomon/ark:main
steps:
- uses: actions/checkout@v4
# - uses: docker/login-action@v2
# with:
# registry: ghcr.io
# username: ${{ github.actor }}
# password: ${{ secrets.GITHUB_TOKEN }}
# - uses: robinraju/[email protected]
# with:
# repository: "evgnomon/zygote"
# latest: true
# fileName: "zygote"
# token: ${{ secrets.ADMIN_GITHUB_TOKEN }}
# - uses: actions/setup-node@v3
# with:
# node-version: 18
# registry-url: 'https://npm.pkg.github.com'
# - name: Zygote init
# env:
# DOCKER_NETWORK_NAME: ${{ job.container.network }}
# run: |
# docker pull mysql:8.0.33
# docker pull redis:7.0.11
# docker pull ghcr.io/evgnomon/ark:main
# chmod +x ./zygote
# ./zygote init
# docker ps
- name: Build and Test
# env:
# REDIS_NATMAP_DISABLED: true
# NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
npm ci
npm run fmt:check
npm run lint
npm run build
./zygote migrate down
# - run: ./zygote deinit -v