fix(deps): update all patch dependencies (#34) #111
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: ci | |
| on: | |
| push: | |
| branches: [main] | |
| pull_request: | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
| cancel-in-progress: ${{ github.ref_name != 'main' }} | |
| jobs: | |
| vue: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [22, 24, 26] | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - run: pnpm ci | |
| - run: pnpm build | |
| - name: test templates | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | |
| with: | |
| script: | | |
| const fs = require('fs'); | |
| const { execSync } = require('child_process'); | |
| const dirs = fs.readdirSync('templates').filter(d => d.startsWith('vue-') && !d.includes('-chat-') && !d.startsWith('mobile-')); | |
| execSync('mkdir tests && cd tests', { stdio: 'inherit' }); | |
| dirs.forEach(name => { | |
| execSync(`node ../dist/index.js ${name} --template ${name}`, { stdio: 'inherit', cwd: 'tests' }); | |
| }); | |
| execSync('pnpm -r install', { stdio: 'inherit', cwd: 'tests' }); | |
| execSync('pnpm -r build', { stdio: 'inherit', cwd: 'tests' }); | |
| mobile-vue: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [22, 24, 26] | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - run: pnpm ci | |
| - run: pnpm build | |
| - name: test templates | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | |
| with: | |
| script: | | |
| const fs = require('fs'); | |
| const { execSync } = require('child_process'); | |
| const dirs = fs.readdirSync('templates').filter(d => d.startsWith('mobile-vue-')); | |
| execSync('mkdir tests && cd tests', { stdio: 'inherit' }); | |
| dirs.forEach(name => { | |
| execSync(`node ../dist/index.js ${name} --template ${name}`, { stdio: 'inherit', cwd: 'tests' }); | |
| }); | |
| execSync('pnpm -r install', { stdio: 'inherit', cwd: 'tests' }); | |
| execSync('pnpm -r build', { stdio: 'inherit', cwd: 'tests' }); | |
| react: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [22, 24, 26] | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - run: pnpm ci | |
| - run: pnpm build | |
| - name: test templates | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | |
| with: | |
| script: | | |
| const fs = require('fs'); | |
| const { execSync } = require('child_process'); | |
| const dirs = fs.readdirSync('templates').filter(d => d.startsWith('react-') && !d.includes('-chat-')); | |
| execSync('mkdir tests && cd tests', { stdio: 'inherit' }); | |
| dirs.forEach(name => { | |
| execSync(`node ../dist/index.js ${name} --template ${name}`, { stdio: 'inherit', cwd: 'tests' }); | |
| }); | |
| execSync('pnpm -r install', { stdio: 'inherit', cwd: 'tests' }); | |
| execSync('pnpm -r build', { stdio: 'inherit', cwd: 'tests' }); | |
| vue-chat: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [22, 24, 26] | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - run: pnpm ci | |
| - run: pnpm build | |
| - name: test templates | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | |
| with: | |
| script: | | |
| const fs = require('fs'); | |
| const { execSync } = require('child_process'); | |
| const dirs = fs.readdirSync('templates').filter(d => d.startsWith('vue-chat-')); | |
| execSync('mkdir tests && cd tests', { stdio: 'inherit' }); | |
| dirs.forEach(name => { | |
| execSync(`node ../dist/index.js ${name} --template ${name}`, { stdio: 'inherit', cwd: 'tests' }); | |
| }); | |
| execSync('pnpm -r install', { stdio: 'inherit', cwd: 'tests' }); | |
| execSync('pnpm -r build', { stdio: 'inherit', cwd: 'tests' }); | |
| react-chat: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [22, 24, 26] | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - run: pnpm ci | |
| - run: pnpm build | |
| - name: test templates | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | |
| with: | |
| script: | | |
| const fs = require('fs'); | |
| const { execSync } = require('child_process'); | |
| const dirs = fs.readdirSync('templates').filter(d => d.startsWith('react-chat-')); | |
| execSync('mkdir tests && cd tests', { stdio: 'inherit' }); | |
| dirs.forEach(name => { | |
| execSync(`node ../dist/index.js ${name} --template ${name}`, { stdio: 'inherit', cwd: 'tests' }); | |
| }); | |
| execSync('pnpm -r install', { stdio: 'inherit', cwd: 'tests' }); | |
| execSync('pnpm -r build', { stdio: 'inherit', cwd: 'tests' }); | |
| mobile-react: | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| node: [22, 24, 26] | |
| os: [ubuntu-latest, windows-latest] | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: ${{ matrix.node }} | |
| cache: pnpm | |
| - run: pnpm ci | |
| - run: pnpm build | |
| - name: test templates | |
| uses: actions/github-script@3a2844b7e9c422d3c10d287c895573f7108da1b3 # v9.0.0 | |
| with: | |
| script: | | |
| const fs = require('fs'); | |
| const { execSync } = require('child_process'); | |
| const dirs = fs.readdirSync('templates').filter(d => d.startsWith('mobile-react-')); | |
| execSync('mkdir tests && cd tests', { stdio: 'inherit' }); | |
| dirs.forEach(name => { | |
| execSync(`node ../dist/index.js ${name} --template ${name}`, { stdio: 'inherit', cwd: 'tests' }); | |
| }); | |
| execSync('pnpm -r install', { stdio: 'inherit', cwd: 'tests' }); | |
| execSync('pnpm -r build', { stdio: 'inherit', cwd: 'tests' }); |