diff --git a/.github/workflows/cd-docs.yml b/.github/workflows/cd-docs.yml index 0141cef17..4dffb3fc0 100644 --- a/.github/workflows/cd-docs.yml +++ b/.github/workflows/cd-docs.yml @@ -16,18 +16,14 @@ jobs: name: github-pages url: ${{ steps.deployment.outputs.page_url }} - strategy: - matrix: - node-version: [18.x] - steps: - - name: Get code + - name: Checkout uses: actions/checkout@v3 - name: Use node uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 18 cache: 'npm' - name: Install Yarn diff --git a/.github/workflows/cd-host.yml b/.github/workflows/cd-host.yml index 8ed9ceb7b..066510672 100644 --- a/.github/workflows/cd-host.yml +++ b/.github/workflows/cd-host.yml @@ -12,15 +12,12 @@ concurrency: jobs: host: runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x] steps: - name: Use node uses: actions/setup-node@v2 with: - node-version: ${{ matrix.node-version }} + node-version: 18 - name: Download release assets run: | diff --git a/.github/workflows/cd-ratings-leaderboard-na.yml b/.github/workflows/cd-ratings-leaderboard-na.yml index 323cd31b8..32a3c2c7e 100644 --- a/.github/workflows/cd-ratings-leaderboard-na.yml +++ b/.github/workflows/cd-ratings-leaderboard-na.yml @@ -9,13 +9,26 @@ jobs: runs-on: ubuntu-latest steps: - - name: Get code + - name: Checkout uses: actions/checkout@v3 - name: Use node uses: actions/setup-node@v3 with: node-version: 18 + cache: 'npm' + + - name: Install Yarn + run: npm install --location=global yarn + + - name: Use node_modules cache + uses: actions/cache@v3 + with: + path: '**/node_modules' + key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} + + - name: Install dependencies + run: yarn - name: Generate leaderboard run: GH_TOKEN=${{ secrets.GH_TOKEN }} yarn publish:ratingsleaderboard --region=na diff --git a/.github/workflows/ci-build.yml b/.github/workflows/ci-build.yml index 156d57820..18a7f4427 100644 --- a/.github/workflows/ci-build.yml +++ b/.github/workflows/ci-build.yml @@ -11,10 +11,6 @@ jobs: name: Build runs-on: ubuntu-latest - strategy: - matrix: - node-version: [18.x] - steps: - name: Checkout uses: actions/checkout@v3 @@ -22,7 +18,7 @@ jobs: - name: Use node uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} + node-version: 18 cache: 'npm' - name: Install Yarn