Skip to content

Commit

Permalink
👷 add test step to pipeline
Browse files Browse the repository at this point in the history
  • Loading branch information
dxanh97 committed Nov 2, 2024
1 parent 2462d0b commit 355df90
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/deploy-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,20 +4,18 @@ on:
push:
branches:
- main
# Optionally configure to run only for specific files. For example:
# paths:
# - "website/**"

jobs:
deploy_live_website:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
# Add any build steps here. For example:
- name: Install Dependencies
run: npm install
run: yarn
- name: Run Tests
run: yarn test --ci
- name: Build
run: npm run build
run: yarn build
- name: Archive Production Artifact
uses: actions/upload-artifact@v4
with:
Expand Down

0 comments on commit 355df90

Please sign in to comment.