fixing ntfy sometimes doesn't send notifications #33
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: [master] | |
| pull_request: | |
| branches: [master] | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 22 | |
| cache: yarn | |
| cache-dependency-path: | | |
| server/yarn.lock | |
| client/yarn.lock | |
| - name: Install root dependencies | |
| run: yarn install --frozen-lockfile | |
| - name: Install server dependencies | |
| run: yarn --cwd server install --frozen-lockfile | |
| - name: Install client dependencies | |
| run: yarn --cwd client install --frozen-lockfile | |
| - name: Lint | |
| run: yarn lint | |
| - name: Run server tests | |
| run: yarn test:server | |
| - name: Run client tests | |
| run: yarn test:client |