Skip to content
Open
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
29 changes: 14 additions & 15 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,21 +97,20 @@ jobs:
echo 'METACALL_AUTH_PASSWORD="${{ secrets.METACALL_AUTH_PASSWORD }}"' >> .env
npm run coverage

# # TODO: This depends on: https://github.com/metacall/faas/issues/78
# - name: Run Tests (local)
# run: |
# cd ..
# git clone https://github.com/metacall/faas.git
# cd faas
# npm install
# npm run build
# node dist/index.js --version
# cd ../deploy
# export TEST_DEPLOY_LOCAL="true"
# node ../faas/dist/index.js &
# sleep 10
# mv .env.example .env
# npm run coverage
- name: Run Tests (local)
run: |
cd ..
git clone https://github.com/metacall/faas.git
cd faas
npm install
npm run build
node dist/index.js --version
cd ../deploy
export TEST_DEPLOY_LOCAL="true"
node ../faas/dist/index.js &
sleep 10
mv .env.example .env
npm run coverage

- name: Publish
if: startsWith(github.ref, 'refs/tags/')
Expand Down
Loading