From b3b2d76c6f1a6c7c8149e01fa74964faa11937a3 Mon Sep 17 00:00:00 2001 From: junjiequan Date: Mon, 5 Aug 2024 16:20:19 +0200 Subject: [PATCH] asdsad --- .../workflows/publish-package-to-npmjs.yml | 29 +++---------------- 1 file changed, 4 insertions(+), 25 deletions(-) diff --git a/.github/workflows/publish-package-to-npmjs.yml b/.github/workflows/publish-package-to-npmjs.yml index fd4599e..91f6cc1 100644 --- a/.github/workflows/publish-package-to-npmjs.yml +++ b/.github/workflows/publish-package-to-npmjs.yml @@ -10,33 +10,8 @@ env: NODE_VERSION: 18.x jobs: - install-and-cache: - name: Run install and cache - runs-on: ubuntu-latest - - steps: - - name: Check out Git repository - uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 18.x - - - name: Cache node_modules - id: cached-node-modules - uses: actions/cache@v4 - with: - path: node_modules - key: node-modules-${{ hashFiles('package-lock.json') }}-${{ env.NODE_VERSION }} - - - name: Install dependencies - if: steps.cached-node-modules.outputs.cache-hit != 'true' - run: npm ci - generate-sdk: runs-on: ubuntu-latest - needs: [install-and-cache] steps: - name: Checkout repository @@ -47,6 +22,10 @@ jobs: with: node-version: ${{env.NODE_VERSION}} registry-url: "https://registry.npmjs.org/" + - name: check docker-compose + run: | + curl -L "https://github.com/docker/compose/releases/download/1.29.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose + chmod +x /usr/local/bin/docker-compose - name: Run docker-compose run: |