From e0ee1c4ee44331afd93c2c276518240ff2da2ad3 Mon Sep 17 00:00:00 2001 From: lawvs <18554747+lawvs@users.noreply.github.com> Date: Tue, 25 Oct 2022 18:36:05 +0800 Subject: [PATCH] chore: update workflow --- .github/workflows/build-community.yml | 10 +++++----- .github/workflows/build-livedemo.yml | 12 ++++++------ .github/workflows/build-test-version.yml | 6 +++--- packages/app/package.json | 1 - packages/logger/package.json | 3 +-- 5 files changed, 15 insertions(+), 17 deletions(-) diff --git a/.github/workflows/build-community.yml b/.github/workflows/build-community.yml index aa456f6ac..6cc8858cc 100644 --- a/.github/workflows/build-community.yml +++ b/.github/workflows/build-community.yml @@ -2,9 +2,9 @@ name: Build Pathfinder Community Version on: push: - branches: [main] + branches: [pathfinder] pull_request: - branches: [main] + branches: [pathfinder] # Cancels all previous workflow runs for pull requests that have not completed. # See https://docs.github.com/en/actions/using-jobs/using-concurrency @@ -16,7 +16,7 @@ concurrency: jobs: build: - name: Lint nad Build + name: Lint and Build runs-on: ubuntu-latest steps: @@ -70,7 +70,7 @@ jobs: push_to_registry: # See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images name: Push Docker image to Docker Hub - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/pathfinder' runs-on: ubuntu-latest needs: build @@ -80,7 +80,7 @@ jobs: env: REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }}-community + IMAGE_NAME: affine-pathfinder-community IMAGE_TAG: canary-${{ github.sha }} IMAGE_TAG_LATEST: nightly-latest diff --git a/.github/workflows/build-livedemo.yml b/.github/workflows/build-livedemo.yml index 962067944..2eacc5703 100644 --- a/.github/workflows/build-livedemo.yml +++ b/.github/workflows/build-livedemo.yml @@ -2,9 +2,9 @@ name: Build Pathfinder LiveDemo Version on: push: - branches: [main] + branches: [pathfinder] pull_request: - branches: [main] + branches: [pathfinder] # Cancels all previous workflow runs for pull requests that have not completed. # See https://docs.github.com/en/actions/using-jobs/using-concurrency @@ -16,7 +16,7 @@ concurrency: jobs: build: - name: Lint nad Build + name: Lint and Build runs-on: ubuntu-latest steps: @@ -32,7 +32,7 @@ jobs: registry-url: https://npm.pkg.github.com scope: '@toeverything' cache: 'pnpm' - + - run: node scripts/module-resolve/ci.js - name: Restore cache @@ -72,7 +72,7 @@ jobs: push_to_registry: # See https://docs.github.com/en/actions/publishing-packages/publishing-docker-images name: Push Docker image to Docker Hub - if: github.ref == 'refs/heads/main' + if: github.ref == 'refs/heads/pathfinder' runs-on: ubuntu-latest needs: build @@ -82,7 +82,7 @@ jobs: env: REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} + IMAGE_NAME: affine-pathfinder IMAGE_TAG: canary-${{ github.sha }} IMAGE_TAG_LATEST: nightly-latest diff --git a/.github/workflows/build-test-version.yml b/.github/workflows/build-test-version.yml index a470e5306..59a358225 100644 --- a/.github/workflows/build-test-version.yml +++ b/.github/workflows/build-test-version.yml @@ -18,7 +18,7 @@ concurrency: jobs: build: - name: Lint nad Build + name: Lint and Build runs-on: ubuntu-latest steps: @@ -34,7 +34,7 @@ jobs: registry-url: https://npm.pkg.github.com scope: '@toeverything' cache: 'pnpm' - + - run: node scripts/module-resolve/ci.js - name: Restore cache @@ -83,7 +83,7 @@ jobs: env: REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }}-testing + IMAGE_NAME: affine-pathfinder-testing IMAGE_TAG: canary-${{ github.sha }} IMAGE_TAG_LATEST: nightly-latest diff --git a/packages/app/package.json b/packages/app/package.json index 2a1c71808..688d70476 100644 --- a/packages/app/package.json +++ b/packages/app/package.json @@ -1,7 +1,6 @@ { "name": "@pathfinder/app", "version": "0.1.0", - "private": true, "scripts": { "dev": "next dev", "build": "next build", diff --git a/packages/logger/package.json b/packages/logger/package.json index 2e1cb19a6..358075630 100644 --- a/packages/logger/package.json +++ b/packages/logger/package.json @@ -15,10 +15,9 @@ }, "keywords": [], "author": "", - "license": "ISC", "repository": { "type": "git", - "url": "git+https://github.com/toeverything/AFFINE-pathfinder.git" + "url": "git+https://github.com/toeverything/AFFINE.git" }, "dependencies": { "next": "^12.3.1",