Skip to content

chore: update workflows #2

chore: update workflows

chore: update workflows #2

Workflow file for this run

name: Test
on:
- push
- pull_request
jobs:
test:
name: Test
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest, ubuntu-latest, windows-latest]
package_manager: [npm, yarn]
package_root:
[
'./test/app-in-root/',
'./test/app-in-subdirectory/',
'./test/vue-app',
]
steps:
- name: Check out Git repository
uses: actions/checkout@v4
- name: Enable Corepack
run: corepack enable
- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: Install test app dependencies
run: |
cd ${{ matrix.package_root }}
${{ matrix.package_manager }} install
- name: Run action
uses: ./
with:
github_token: ${{ secrets.github_token }}
package_root: ${{ matrix.package_root }}
use_vue_cli: ${{ contains(matrix.package_root, 'vue')}}
max_attempts: '2'