From 1986515c9a350e1f4df3aa07d0250971bcc2f869 Mon Sep 17 00:00:00 2001 From: Phil Date: Sun, 3 Jul 2022 14:01:46 +0200 Subject: [PATCH] build(workflow): remove steps --- .github/workflows/build.yml | 53 +++++-------------------------------- 1 file changed, 7 insertions(+), 46 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ab45538..0427202 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -2,57 +2,18 @@ name: Build Figma-Chat on: [push] -env: - YARN_CHECKSUM_BEHAVIOR: update - jobs: - cache: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@main - with: - node-version: 16 - - - name: yarn cache clean --all - - run: yarn cache clean --all - install: - needs: cache - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@main - with: - node-version: 16 - - - name: yarn install - run: yarn install - - lint: - needs: install - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@main - with: - node-version: 16 - - - name: yarn lint - run: yarn lint - build: - needs: lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - uses: actions/setup-node@main + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: node-version: 16 - - name: yarn build - run: yarn build:plugin && yarn build:server && yarn build:web + - run: rm yarn.lock + - run: yarn cache clean --all + - run: yarn install + - run: yarn lint + - run: yarn build:plugin && yarn build:server && yarn build:web