Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[fix] syntax issue #13

Merged
merged 1 commit into from
Mar 29, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 8 additions & 9 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,19 +44,18 @@ jobs:
run: pnpm eslint .
# Ensure you have a lint script in your package.json

- name: Set env
env:
API_BASE_URL: ${{ vars.API_BASE_URL }}
API_PREFIX: ${{ vars.API_PREFIX }}
API_KEY: ${{ secrets.API_KEY }}

- name: Run Tests
run: pnpm exec playwright test
# Ensure you have a test:integration script in your package.json for your API integration tests
continue-on-error: true
run: |
echo "Load environment variables"
export API_BASE_URL=${{ secrets.API_BASE_URL }}
export API_PREFIX=${{ secrets.API_PREFIX }}
export API_KEY=${{ secrets.API_KEY }}
pnpm exec playwright test

- name: Upload Test Results
uses: actions/upload-artifact@v2
if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
# if: failure() && github.event_name == 'push' && github.ref == 'refs/heads/main'
with:
name: test-results
path: ./playwright-report/index.html
Loading