diff --git a/.changeset/afraid-trees-wave.md b/.changeset/afraid-trees-wave.md new file mode 100644 index 0000000000..493e1b1c7e --- /dev/null +++ b/.changeset/afraid-trees-wave.md @@ -0,0 +1,5 @@ +--- +"saleor-dashboard": patch +--- + +Now dependencies are installed properly in our pipelines, this means auth scripts are no longer stopping. diff --git a/.github/workflows/run-test-cron.yml b/.github/workflows/run-test-cron.yml index 8b02907604..366cb39b0b 100644 --- a/.github/workflows/run-test-cron.yml +++ b/.github/workflows/run-test-cron.yml @@ -23,8 +23,26 @@ jobs: ACCOUNTS: ${{ steps.accounts.outputs.ACCOUNTS }} steps: - uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version-file: ".nvmrc" + + - name: Cache node modules + uses: actions/cache@v3 + env: + cache-name: cache-node-modules with: - sparse-checkout: ./.github/actions + path: ~/.npm + key: ${{ runner.os }}-qa-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-qa-${{ env.cache-name }}- + ${{ runner.os }}-qa- + ${{ runner.os }}- + + - name: Install deps + run: npm ci - name: Generate variables id: cloud_variables diff --git a/.github/workflows/run-test-manual.yml b/.github/workflows/run-test-manual.yml index 4430634ddb..8e73035f96 100644 --- a/.github/workflows/run-test-manual.yml +++ b/.github/workflows/run-test-manual.yml @@ -20,8 +20,26 @@ jobs: ACCOUNTS: ${{ steps.accounts.outputs.ACCOUNTS }} steps: - uses: actions/checkout@v4 + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version-file: ".nvmrc" + + - name: Cache node modules + uses: actions/cache@v3 + env: + cache-name: cache-node-modules with: - sparse-checkout: ./.github/actions + path: ~/.npm + key: ${{ runner.os }}-qa-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-qa-${{ env.cache-name }}- + ${{ runner.os }}-qa- + ${{ runner.os }}- + + - name: Install deps + run: npm ci - name: Set variables mode id: set_variables_mode diff --git a/.github/workflows/run-tests-on-release.yml b/.github/workflows/run-tests-on-release.yml index e20420693d..f69c598666 100644 --- a/.github/workflows/run-tests-on-release.yml +++ b/.github/workflows/run-tests-on-release.yml @@ -65,6 +65,26 @@ jobs: steps: - uses: actions/checkout@v4 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version-file: ".nvmrc" + + - name: Cache node modules + uses: actions/cache@v3 + env: + cache-name: cache-node-modules + with: + path: ~/.npm + key: ${{ runner.os }}-qa-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.os }}-qa-${{ env.cache-name }}- + ${{ runner.os }}-qa- + ${{ runner.os }}- + + - name: Install deps + run: npm ci + - id: check-framework uses: actions/github-script@v7 env: