From bb156cc8da57dc2f7079cbc2b58d2cc5a82525c6 Mon Sep 17 00:00:00 2001 From: alt0 Date: Wed, 19 Oct 2022 19:45:04 +0800 Subject: [PATCH] chore: change docker name --- ...{build-with-module-resolve.yml => build-community.yml} | 8 +++----- .github/workflows/build.yml | 4 +++- 2 files changed, 6 insertions(+), 6 deletions(-) rename .github/workflows/{build-with-module-resolve.yml => build-community.yml} (94%) diff --git a/.github/workflows/build-with-module-resolve.yml b/.github/workflows/build-community.yml similarity index 94% rename from .github/workflows/build-with-module-resolve.yml rename to .github/workflows/build-community.yml index 87120695b6..e2f3bce9f8 100644 --- a/.github/workflows/build-with-module-resolve.yml +++ b/.github/workflows/build-community.yml @@ -1,4 +1,4 @@ -name: Build With Module Resolve +name: Build Community Version on: push: @@ -32,8 +32,6 @@ jobs: with: node-version: 18.x cache: 'pnpm' - - - run: node scripts/module-resolve/ci.js - name: Restore cache uses: actions/cache@v3 @@ -47,7 +45,7 @@ jobs: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}- - name: Install dependencies - run: pnpm install --no-frozen-lockfile + run: pnpm install env: NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }} @@ -82,7 +80,7 @@ jobs: env: REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }}-pro + IMAGE_NAME: ${{ github.repository }}-community IMAGE_TAG: canary-${{ github.sha }} IMAGE_TAG_LATEST: nightly-latest diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5240bd52ce..bbca69cc92 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -32,6 +32,8 @@ jobs: with: node-version: 18.x cache: 'pnpm' + + - run: node scripts/module-resolve/ci.js - name: Restore cache uses: actions/cache@v3 @@ -45,7 +47,7 @@ jobs: ${{ runner.os }}-nextjs-${{ hashFiles('**/pnpm-lock.yaml') }}- - name: Install dependencies - run: pnpm install + run: pnpm install --no-frozen-lockfile env: NODE_AUTH_TOKEN: ${{ secrets.NPM_GITHUB_AUTH_TOKEN }}