Skip to content

Commit

Permalink
Add GitHub workflow for integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Jan 21, 2025
1 parent 866ec62 commit 62fdd26
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 0 deletions.
1 change: 1 addition & 0 deletions .fernignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

README.md

.github/workflows/integration.yml
src/wrapper
src/index.ts
src/errors/SquareError.ts
Expand Down
20 changes: 20 additions & 0 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: ci

on: [push]

jobs:
integration:
env:
TEST_SQUARE_TOKEN: ${{ secrets.TEST_SQUARE_TOKEN }}
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v3

- name: Set up node
uses: actions/setup-node@v3

- name: Run integration tests
# TODO: Replace the following 'run' statement with the following when TEST_SQUARE_TOKEN secret exists.
# run: yarn && yarn test:integration
run: yarn

0 comments on commit 62fdd26

Please sign in to comment.