Browse Source

Configure installing dependencies with npm

Frontend-Kenny-GitHubActions
Kenneth Bruen 3 years ago
parent
commit
619ccc6be0
Signed by: kbruen
GPG Key ID: C1980A470C3EE5B1
  1. 3
      .github/workflows/firebase-hosting-merge.yml
  2. 3
      .github/workflows/firebase-hosting-pull-request.yml

3
.github/workflows/firebase-hosting-merge.yml

@ -12,6 +12,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install npm dependencies
working-directory: ./client
run: npm install
- name: Build Svelte app - name: Build Svelte app
working-directory: ./client working-directory: ./client
run: npm run build run: npm run build

3
.github/workflows/firebase-hosting-pull-request.yml

@ -9,6 +9,9 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
- name: Install npm dependencies
working-directory: ./client
run: npm install
- name: Build Svelte app - name: Build Svelte app
working-directory: ./client working-directory: ./client
run: npm run build run: npm run build

Loading…
Cancel
Save