chore: add resolve-issue skill for GitHub issue workflow #3075
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: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - run: yarn install | |
| - run: yarn build | |
| - run: yarn lint | |
| - run: scripts/ci-after-success-hook.sh | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} | |
| DEPLOY_KEY_VIVLIOSTYLE_ORG: ${{ secrets.DEPLOY_KEY_VIVLIOSTYLE_ORG }} | |
| DEPLOY_KEY_VIVLIOSTYLE_GITHUB_IO: ${{ secrets.DEPLOY_KEY_VIVLIOSTYLE_GITHUB_IO }} | |
| test: | |
| needs: build | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| os: [ubuntu-latest, windows-latest, macos-latest] | |
| browser: [Chrome, Firefox] | |
| exclude: | |
| # Reduce CI time by excluding some combinations | |
| - os: windows-latest | |
| browser: Firefox | |
| # Firefox on Ubuntu consistently times out, tested on macOS instead | |
| - os: ubuntu-latest | |
| browser: Firefox | |
| runs-on: ${{ matrix.os }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| - name: Install dependencies | |
| run: yarn install | |
| - name: Build | |
| run: yarn build | |
| - name: Run tests | |
| run: | | |
| cd packages/core/test | |
| # packages/core/test has its own package.json with test-specific dependencies | |
| yarn install | |
| yarn test | |
| env: | |
| TEST_BROWSER: ${{ matrix.browser }} |