Skip to content

Commit

Permalink
Test CI
Browse files Browse the repository at this point in the history
Signed-off-by: Don Alfons Nisnoni <donnisnoni@outlook.com>
  • Loading branch information
itsdonnix committed Feb 20, 2021
1 parent fce5512 commit dd75f89
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,11 @@ on:
- "src/main/frontend/**"

jobs:
defaults:
run:
working-directory: src/main/frontend

preview-frontend:
frontend:
runs-on: ubuntu-latest
defaults:
run:
working-directory: src/main/frontend
steps:
- uses: actions/checkout@v2

Expand All @@ -23,10 +22,15 @@ jobs:
node-version: "14.x"

- name: Install dependencies
run: npm Install
run: npm install

- uses: actions/vercel-deployment@0.5.1
with:
vercelToken: ${{ secrets.VERCEL_TOKEN }}
vercelOrgId: ${{ secrets.VERCEL_ORG_ID }}
vercelProjectId: ${{ secrets.VERCEL_PROJECT_ID }}
- name: Test Sapper Build
run: npm run build

# - name: Vercel Deployment
# uses: xmflsct/action-vercel-deployment@v0.5.3
# with:
# vercelToken: ${{ secrets.VERCEL_TOKEN }}
# vercelOrgId: ${{ secrets.VERCEL_ORG_ID }}
# vercelProjectId: ${{ secrets.VERCEL_PROJECT_ID }}
# githubToken: ${{ secrets.PAT }}

0 comments on commit dd75f89

Please sign in to comment.