File tree Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Expand file tree Collapse file tree 2 files changed +34
-2
lines changed Original file line number Diff line number Diff line change 33 pull_request :
44 branches :
55 - master
6- - dev
76 push :
87 branches :
98 - master
10- - dev
119jobs :
1210 test :
1311 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 1+ name : Vercel Dev Deployment
2+ on :
3+ pull_request :
4+ branches :
5+ - dev
6+ push :
7+ branches :
8+ - dev
9+ jobs :
10+ test :
11+ runs-on : ubuntu-latest
12+ steps :
13+ - uses : actions/checkout@v2
14+ - uses : actions/setup-node@v2
15+ with :
16+ node-version : ' 18.x'
17+ - run : yarn install
18+ - run : yarn run test
19+ env :
20+ MONGODB_URI : ${{ secrets.MONGODB_URI }}
21+ RATE_LIMIT_MINUTES : ${{ secrets.RATE_LIMIT_MINUTES }}
22+ RATE_LIMIT_MAX_REQUEST : ${{ secrets.RATE_LIMIT_MAX_REQUEST }}
23+ CACHE_STORAGE_SECONDS : ${{ secrets.CACHE_STORAGE_SECONDS }}
24+ deploy :
25+ needs : test
26+ runs-on : ubuntu-latest
27+ steps :
28+ - uses : actions/checkout@v2
29+ - uses : amondnet/vercel-action@v20
30+ with :
31+ vercel-token : ${{ secrets.VERCEL_TOKEN }} # Required
32+ vercel-org-id : ${{ secrets.ORG_ID}} # Required
33+ vercel-project-id : ${{ secrets.PROJECT_ID}} # Required
34+ working-directory : .
You can’t perform that action at this time.
0 commit comments