Skip to content

Commit

Permalink
upload .env files
Browse files Browse the repository at this point in the history
  • Loading branch information
LouiseMcMahon committed Feb 5, 2025
1 parent c52791d commit ac03e96
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- main

jobs:
setup-tests:
build-app:
runs-on: ubuntu-latest
services:
mysql:
Expand Down Expand Up @@ -52,16 +52,20 @@ jobs:
with:
node-version: 22
cache: 'npm'

- run: npm ci

- run: npm run build --if-present

- name: Upload application
uses: actions/upload-artifact@v4
with:
include-hidden-files: true
name: app
path: .

run-tests:
needs: setup-tests
needs: build-app
runs-on: ubuntu-latest
services:
mysql:
Expand Down Expand Up @@ -171,7 +175,7 @@ jobs:
cleanup-artifacts-pr:
runs-on: ubuntu-latest
if: github.event.pull_request.number != null
needs: [ setup-tests, run-tests, check-coverage, comment-coverage ]
needs: [ build-app, run-tests, check-coverage, comment-coverage ]
steps:
- uses: geekyeggo/delete-artifact@v5
with:
Expand All @@ -183,7 +187,7 @@ jobs:
cleanup-artifacts-branch:
runs-on: ubuntu-latest
if: github.event.pull_request.number == null
needs: [ setup-tests, run-tests, check-coverage ]
needs: [ build-app, run-tests, check-coverage ]
steps:
- uses: geekyeggo/delete-artifact@v5
with:
Expand Down

0 comments on commit ac03e96

Please sign in to comment.