From 187a7e54b4578f395ad33a4de00e300234bff5f7 Mon Sep 17 00:00:00 2001 From: Thomas Allmer Date: Mon, 7 Nov 2022 14:10:07 +0100 Subject: [PATCH] chore: persists wireit cache in CI; no rerun of test on master --- .github/workflows/release.yml | 41 +---------------------------------- .github/workflows/verify.yml | 4 ++++ 2 files changed, 5 insertions(+), 40 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b29976863..daea6351c 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -6,52 +6,13 @@ on: - master jobs: - browser-tests: - name: Browser tests - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Setup Node 16.x - uses: actions/setup-node@v1 - with: - node-version: 16.x - - - name: Install Dependencies - run: npm install --ci - - - uses: microsoft/playwright-github-action@v1 - - - name: Test - run: npm run test:browser - - node-tests: - name: Node tests - runs-on: ${{ matrix.os }} - strategy: - matrix: - node-version: [16.x] - os: [ubuntu-latest] - steps: - - uses: actions/checkout@v2 - - - name: Setup Node ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - - name: Install Dependencies - run: npm install --ci - - - name: Test - run: npm run test:node - release: # Prevents changesets action from creating a PR on forks if: github.repository == 'ing-bank/lion' name: Release runs-on: ubuntu-latest steps: + - uses: google/wireit@setup-github-actions-caching/v1 - name: Checkout Repo uses: actions/checkout@master with: diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 36accdc3a..94bfa380b 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -7,6 +7,7 @@ jobs: name: Verify changes runs-on: ubuntu-latest steps: + - uses: google/wireit@setup-github-actions-caching/v1 - uses: actions/checkout@v2 - name: Sanity check @@ -30,6 +31,7 @@ jobs: name: Browser tests runs-on: ubuntu-latest steps: + - uses: google/wireit@setup-github-actions-caching/v1 - uses: actions/checkout@v2 - name: Setup Node 16.x @@ -53,6 +55,7 @@ jobs: node-version: [16.x] os: [ubuntu-latest] steps: + - uses: google/wireit@setup-github-actions-caching/v1 - uses: actions/checkout@v2 - name: Setup Node ${{ matrix.node-version }} @@ -75,6 +78,7 @@ jobs: node-version: [16.x] os: [windows-latest] steps: + - uses: google/wireit@setup-github-actions-caching/v1 - uses: actions/checkout@v2 - name: Setup Node ${{ matrix.node-version }}