Skip to content

Commit

Permalink
-build♻️
Browse files Browse the repository at this point in the history
  • Loading branch information
v1ctorio committed May 14, 2022
1 parent 4ea1993 commit f972949
Showing 1 changed file with 2 additions and 20 deletions.
22 changes: 2 additions & 20 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,27 +36,8 @@ jobs:
- name: Lint
run: yarn run lint

build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0
- uses: actions/setup-node@v2
with:
cache: 'yarn'
node-version: '16'
- name: Install dependencies
run: yarn
- name: Build
run: yarn run build
- uses: actions/upload-artifact@v2
with:
name: dist
path: dist

test:
needs: [ lint, build ]
needs: [ lint ]
runs-on: ubuntu-latest

steps:
Expand All @@ -67,6 +48,7 @@ jobs:
with:
fetch-depth: 0
- run: yarn
- run: yarn run build
- run: yarn test
env:
MONGO_URL: ${{ secrets.MONGOURL }}

0 comments on commit f972949

Please sign in to comment.