Skip to content

Commit

Permalink
Update Github workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesst20 committed May 28, 2024
1 parent bda2c5a commit 22cb8d8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:

strategy:
matrix:
adapter: ['vue2']
adapter: ['vue3']
browser: ['chrome']

steps:
Expand All @@ -18,7 +18,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 16.15
node-version: 20

- name: Cache node modules
uses: actions/cache@v2
Expand All @@ -27,13 +27,13 @@ jobs:
path: |
~/.cache
node_modules
packages/vue2/tests/node_modules
packages/vue3/tests/node_modules
- name: Build Inertia
run: |
npm install
cd packages/core && npm run build
cd ../vue2 && npm run build
cd ../vue3 && npm run build
- name: Local-link @inertiajs/core
run: cd packages/core && npm link
Expand Down
2 changes: 1 addition & 1 deletion packages/vue3/tests/app/app.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { createInertiaApp, Link, router } from '@inertiajs/vue3'
import { createApp, createSSRApp, h } from 'vue'
import { createSSRApp, h } from 'vue'

window.testing = {}
window.testing.Inertia = router
Expand Down

0 comments on commit 22cb8d8

Please sign in to comment.