fixed card deal animation #68
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: Continuous Integration | |
| on: | |
| push: | |
| branches: | |
| - main | |
| - master | |
| pull_request: | |
| concurrency: | |
| group: ci-${{ github.head_ref || github.ref }} | |
| cancel-in-progress: true | |
| env: | |
| COVERAGE: false | |
| jobs: | |
| lint: | |
| name: "Lint" | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: pnpm/action-setup@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| cache: pnpm | |
| - name: Install Dependencies | |
| run: pnpm install | |
| - name: Lint | |
| run: pnpm lint | |
| test: | |
| # This job installs pnpm, | |
| # installs all dependencies, | |
| # caches the Cypress binary cache, | |
| # then runs Cypress tests in the single workspace | |
| # of the subfolder "packages/workspace-1". | |
| runs-on: ubuntu-latest | |
| name: Test | |
| timeout-minutes: 15 | |
| needs: [lint] | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| # pnpm is not installed by default on GitHub runners | |
| - name: Install pnpm | |
| run: npm install -g pnpm@10 | |
| - name: Install dependencies | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| working-directory: examples/start-and-pnpm-workspaces | |
| runTests: false | |
| - name: Cypress tests | |
| uses: cypress-io/github-action@v6 | |
| with: | |
| install: false | |
| working-directory: examples/start-and-pnpm-workspaces/packages/workspace-1 | |
| start: pnpm start | |
| wait-on: "http://localhost:3000" | |
| # env: | |
| # COVERAGE: true | |
| # - name: Store Code Coverage | |
| # uses: actions/upload-artifact@v4 | |
| # with: | |
| # name: coverage | |
| # path: ./coverage | |
| # retention-days: 1 | |
| # - uses: actions/upload-artifact@v4 | |
| # if: failure() | |
| # with: | |
| # name: replay-test.json | |
| # path: ./test-execution-*.json | |
| # retention-days: 7 | |
| # upload-coverage: | |
| # name: Upload code coverage | |
| # runs-on: ubuntu-latest | |
| # needs: test | |
| # if: ${{ always() }} | |
| # steps: | |
| # - uses: actions/checkout@v4 | |
| # - uses: actions/download-artifact@v4 | |
| # with: | |
| # name: coverage-frontend | |
| # path: coverage | |
| # - run: ls -lh | |
| # - run: ls -lh coverage | |
| # - name: Publish code coverage | |
| # uses: paambaati/[email protected] | |
| # env: | |
| # CC_TEST_REPORTER_ID: ${{ secrets.CC_TEST_REPORTER_ID }} | |
| # with: | |
| # coverageLocations: | | |
| # coverageLocations: ${{github.workspace}}/coverage/lcov.info:lcov |