Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(ci): generate wasm package before launch server #14

Merged
merged 12 commits into from
May 22, 2024
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
Loading