Update explorer.yml
This commit is contained in:
parent
2ba794e2f7
commit
7ba731b192
|
@ -1,13 +1,15 @@
|
|||
name: Explorer
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [master]
|
||||
paths:
|
||||
- 'explorer/**'
|
||||
pull_request_target:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- 'explorer/**'
|
||||
- "explorer/**"
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
paths:
|
||||
- "explorer/**"
|
||||
|
||||
jobs:
|
||||
check-explorer:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -18,8 +20,6 @@ jobs:
|
|||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
# "node" (v16) is not supported by node-sass yet
|
||||
|
@ -32,13 +32,3 @@ jobs:
|
|||
- run: npm run format
|
||||
- run: npm run build
|
||||
- run: npm run test
|
||||
- uses: actions/checkout@v2
|
||||
- uses: amondnet/vercel-action@v20
|
||||
with:
|
||||
vercel-token: ${{ secrets.VERCEL_TOKEN }}
|
||||
github-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
vercel-args: '--prod' #for production
|
||||
vercel-org-id: ${{ secrets.ORG_ID}}
|
||||
vercel-project-id: ${{ secrets.PROJECT_ID}}
|
||||
working-directory: ./explorer
|
||||
scope: ${{ secrets.TEAM_ID}}
|
||||
|
|
Loading…
Reference in New Issue