Skip to content

Commit

Permalink
allow js tests to pass nothing defined, action bumps for node 20
Browse files Browse the repository at this point in the history
  • Loading branch information
joelclermont committed Jun 12, 2024
1 parent 298ab66 commit f28639b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
run: cp .env.example .env

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3

- name: Build Docker images
uses: docker/bake-action@v3
uses: docker/bake-action@v4
with:
load: true
files: |
Expand All @@ -36,7 +36,7 @@ jobs:
run: docker compose up -d mysql mysql-test php-fpm --wait --no-build

- name: Cache composer dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: vendor
key: composer-${{ hashFiles('composer.lock') }}
Expand All @@ -54,7 +54,7 @@ jobs:
docker inspect "$PROJECT_NAME-mysql"
- name: Cache npm dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: npm-${{ hashFiles('package-lock.json') }}
Expand All @@ -72,15 +72,15 @@ jobs:
run: docker exec "$PROJECT_NAME-php-fpm" composer run laravel-cache

- name: Cache Larastan result cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .phpstan.cache
key: "phpstan-result-cache-${{ github.run_id }}" # always unique key - always writes a new cache
restore-keys: | # prefix allows it to use previous cache as starting point
phpstan-result-cache-
- name: Cache php-cs-fixer result cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .php-cs-fixer.cache
key: "php-cs-fixer-result-cache-${{ github.run_id }}" # always unique key - always writes a new cache
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"dev": "vite",
"build": "vite build",
"lint": "eslint ./resources/js",
"test": "vitest",
"test-with-coverage": "vitest run --coverage"
"test": "vitest --passWithNoTests",
"test-with-coverage": "vitest run --coverage --passWithNoTests"
},
"devDependencies": {
"@vitejs/plugin-vue": "^4.5.2",
Expand Down

0 comments on commit f28639b

Please sign in to comment.