Skip to content

Commit

Permalink
move tests only localtunnel client code out of git
Browse files Browse the repository at this point in the history
  • Loading branch information
diosmosis committed Sep 30, 2024
1 parent 0404ddc commit 594f28a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ jobs:
CLASP_CREDENTIALS_LOCAL: ${{ secrets.CLASP_CREDENTIALS_LOCAL }}

- name: Prepare
run: npm run test:prepare
run: |
mkdir -p ./test/utilities/mwp-localtunnel-client
curl "https://gist.githubusercontent.com/$MWP_LOCALTUNNEL_CLIENT_URL_PATH" > ./test/utilities/mwp-localtunnel-client/index.js
env:
MWP_LOCALTUNNEL_CLIENT_URL_PATH: ${{ secrets.MWP_LOCALTUNNEL_CLIENT_URL_PATH }}

- name: Test
run: npm test
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
"clasp": "clasp",
"create": "mkdir -p dist && clasp create --rootDir dist --title='Matomo Looker Studio Connector' --type=standalone && mv ./dist/.clasp.json .",
"push": "tsx ./scripts/push.ts",
"test:prepare": "git clone https://github.com/innocraft/mwp-localtunnel-client.git ./tests/utilities/mwp-localtunnel-client",
"test:appscript": "jest --config=./jest.config.appscript.ts",
"test": "npm run test:appscript",
"test:download-artifacts": "tsx ./scripts/download-expected.ts",
Expand Down

0 comments on commit 594f28a

Please sign in to comment.