Skip to content

Commit

Permalink
Fix CI jobs order
Browse files Browse the repository at this point in the history
  • Loading branch information
tomas-doudera committed Sep 22, 2023
1 parent 548cbd7 commit b15de6e
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions stubs/workflows/ci.stub
Original file line number Diff line number Diff line change
Expand Up @@ -36,15 +36,6 @@ jobs:
php-version: "8.1"
extensions: xdebug

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: latest
cache: 'npm'

- name: Install dependencies
run: npm install && npm run build

- name: Copy .env
run: php -r "file_exists('.env') || copy('.env.example', '.env');"

Expand All @@ -57,6 +48,15 @@ jobs:
- name: Setup permissions
run: chmod -R 777 storage bootstrap/cache

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: latest
cache: 'npm'

- name: Install dependencies
run: npm install && npm run build

- name: Run tests
timeout-minutes: 30
run: vendor/bin/pest
Expand Down

0 comments on commit b15de6e

Please sign in to comment.