From 995778b212a03cf332064fd1fc2239c7b1239f44 Mon Sep 17 00:00:00 2001 From: Quantix <9021453+quantix-dev@users.noreply.github.com> Date: Sun, 31 Jul 2022 02:08:40 +0100 Subject: [PATCH] fix: workflow --- .github/workflows/main.yml | 22 ++++++---------------- 1 file changed, 6 insertions(+), 16 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 32a6419..ad1c184 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -21,24 +21,14 @@ jobs: contents: write steps: - # Setup file access & Cache - - uses: actions/checkout@v2 - - uses: actions/cache@v2 - with: - path: | - .yarn/cache - key: | - yarn2-${{ hashFiles('yarn.lock') }} - restore-keys: | - yarn2-${{ hashFiles('yarn.lock') }} - # Building with yarn - - uses: borales/actions-yarn@v2.3.0 - with: - cmd: install - - uses: borales/actions-yarn@v2.3.0 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - cmd: build + node-version: '14' + cache: 'yarn' + - run: yarn install --frozen-lockfile --immutable + - run: yarn build # Pushing to release - name: Release