Skip to content

Commit

Permalink
Solve issues in the ci.
Browse files Browse the repository at this point in the history
  • Loading branch information
viferga committed Jan 23, 2025
1 parent 039f0c8 commit 68157df
Showing 1 changed file with 13 additions and 10 deletions.
23 changes: 13 additions & 10 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,6 @@ jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

# Required for local tests
- name: Setup MetaCall CLI
run: wget -O - https://raw.githubusercontent.com/metacall/install/master/install.sh | sh
Expand All @@ -24,6 +21,19 @@ jobs:
node-version: '20'
registry-url: https://registry.npmjs.org

- name: Setup MetaCall FaaS
run: |
git clone https://github.com/metacall/faas.git
cd faas
npm install
npm run build
npm install -g $(pwd)
cd ..
rm -rf faas
- name: Checkout
uses: actions/checkout@v4

- name: Installing Dependencies
run: npm i

Expand All @@ -35,13 +45,6 @@ jobs:

- name: Run Tests (local)
run: |
git clone https://github.com/metacall/faas.git
cd faas
npm install
npm run build
npm install -g $(pwd)
cd ..
rm -rf faas
export TEST_DEPLOY_LOCAL="true"
metacall-faas &
sleep 10
Expand Down

0 comments on commit 68157df

Please sign in to comment.