Skip to content

Commit

Permalink
Merge pull request #14 from Satellite-im/luis/fix-ci
Browse files Browse the repository at this point in the history
chore(ci): generate wasm package before launch server
  • Loading branch information
luisecm authored May 22, 2024
2 parents 795bef8 + 265fc49 commit d134dac
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions .github/workflows/automated-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ jobs:
uses: actions/checkout@v4
with:
repository: Satellite-im/UplinkWeb
submodules: "true"

- name: Checkout Automated Tests directory 🔖
uses: actions/checkout@v4
Expand All @@ -34,21 +33,13 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: 20
cache: "npm"
cache-dependency-path: |
package-lock.json
automated-tests/package-lock.json
- name: Cache NPM dependencies 🔨
uses: actions/cache@v4
id: cache-test
with:
path: node_modules
key: ${{ runner.os }}-${{ hashFiles('**/lockfiles') }}

- name: Install NPM dependencies for Uplink Web 📦
if: steps.cache-test.outputs.cache-hit != 'true'
run: npm ci
run: npm install

- name: Install NPM dependencies for Testing Repo 📦
working-directory: automated-tests
run: npm install

- name: Run server
run: npm run dev &
Expand Down

0 comments on commit d134dac

Please sign in to comment.