Skip to content

Commit

Permalink
build(workflow): remove steps
Browse files Browse the repository at this point in the history
  • Loading branch information
ph1p committed Jul 3, 2022
1 parent e198aed commit 1986515
Showing 1 changed file with 7 additions and 46 deletions.
53 changes: 7 additions & 46 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 1986515

Please sign in to comment.