chore(run): remove workaround for exit-hook issue (#24) #3
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: jQuery Color | |
| on: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| env: | |
| NODE_VERSION: 24.x | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| name: Test jQuery Color Integration | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| submodules: recursive | |
| - name: Use Node.js ${{ env.NODE_VERSION }} | |
| uses: actions/setup-node@2028fbc5c25fe9cf00d9f06a71cc4710d4507903 # v6.0.0 | |
| with: | |
| node-version: ${{ env.NODE_VERSION }} | |
| cache: npm | |
| cache-dependency-path: '**/package-lock.json' | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Install jQuery Color dependencies | |
| working-directory: test/jquery-color | |
| run: npm ci | |
| - name: Install local JTR | |
| working-directory: test/jquery-color | |
| run: npm install -D ../../ | |
| - name: Run jQuery Color tests | |
| working-directory: test/jquery-color | |
| run: npm test |