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