Update package dependencies and enhance compatibility across projects… #1
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: Tools - CI Tests | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'packages/tools/**' # Only trigger on changes to tools package | |
| jobs: | |
| build-and-test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v2 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v2 | |
| with: | |
| node-version: '18' | |
| - name: Install dependencies | |
| working-directory: packages/tools | |
| run: npm install --also=dev | |
| - name: Build tools package | |
| working-directory: packages/tools | |
| run: npm run build | |
| - name: Run tools tests | |
| working-directory: packages/tools | |
| run: npm run test |