From aa51133e666ddee42caf3adf41a4730124f7c656 Mon Sep 17 00:00:00 2001 From: Bill Lynch Date: Tue, 10 Oct 2023 15:19:59 +0100 Subject: [PATCH] fixup! ci: use release-please --- .github/workflows/Build.yml | 15 +++++++++++++-- .github/workflows/Release-Please.yml | 1 + 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/.github/workflows/Build.yml b/.github/workflows/Build.yml index 8ef57b1b..d5649da6 100644 --- a/.github/workflows/Build.yml +++ b/.github/workflows/Build.yml @@ -1,4 +1,4 @@ -name: Build, Test, List +name: Build, Test, Lint concurrency: deployment @@ -17,6 +17,8 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + with: + ref: ${{ needs.release-please.outputs.release_tag_name }} - name: Setup Node uses: actions/setup-node@v3 with: @@ -29,12 +31,18 @@ jobs: needs: [Setup-Environment] steps: - run: yarn build + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} Test: runs-on: ubuntu-latest - needs: [ Setup-Environment ] + needs: [ Setup-Environment, Build ] steps: - run: yarn test + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} Lint: runs-on: ubuntu-latest @@ -43,3 +51,6 @@ jobs: - run: | yarn format:check yarn lint + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} diff --git a/.github/workflows/Release-Please.yml b/.github/workflows/Release-Please.yml index 5be1bfca..b95174ff 100644 --- a/.github/workflows/Release-Please.yml +++ b/.github/workflows/Release-Please.yml @@ -38,6 +38,7 @@ jobs: uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} + scope: '@spotify-confidence' - name: Install dependencies run: yarn install --frozen-lockfile