From 1b06f6cc91c0f8319ce091bd0a9a77298c178279 Mon Sep 17 00:00:00 2001 From: Dimitri Date: Mon, 21 Oct 2024 19:23:48 +0700 Subject: [PATCH] fix: simplify git workflow --- .github/workflows/test.yaml | 29 +++-------------------------- 1 file changed, 3 insertions(+), 26 deletions(-) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index f0ec741..03fa587 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -25,33 +25,10 @@ jobs: - name: Install yarn run: npm install -g yarn - name: Install dependencies - run: yarn install --immutable + run: yarn install --immutable + - name: Run tests + run: yarn test - name: Install bun uses: oven-sh/setup-bun@v1 with: bun-version: latest - - name: Cache build artifacts - uses: actions/cache@v2 - with: - path: | - ./* - key: ${{ runner.os }}-build-${{ github.sha }} - - test: - needs: build - runs-on: ubuntu-latest - steps: - - name: Restore cached build artifacts - uses: actions/cache@v2 - with: - path: | - ./* - key: ${{ runner.os }}-build-${{ github.sha }} - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 18 - - name: Install yarn - run: npm install -g yarn - - name: Run tests - run: yarn test