Merge pull request #223 from atomicjolt/sc/css-layers #383
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: Tests | |
| on: | |
| push: | |
| branches: ["main"] | |
| pull_request: | |
| branches: | |
| - next | |
| - main | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v3 | |
| - name: Use Node.js | |
| uses: actions/setup-node@v3 | |
| with: | |
| node-version-file: ".tool-versions" | |
| - name: Install Node.js dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build --workspaces | |
| - name: Run tests | |
| run: npm run test --workspaces --if-present |