Bump @types/node from 18.19.68 to 18.19.70 (#290) #622
This file contains 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: Unit Tests | |
on: | |
pull_request: | |
branches: | |
- main | |
push: | |
branches: | |
- main | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x, 18.x] | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Set up Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Install dependencies | |
run: yarn | |
- name: Build | |
run: yarn build | |
- name: Run the tests | |
run: yarn test --coverage | |
- name: Notify failures | |
if: failure() | |
uses: rtCamp/action-slack-notify@v2 | |
env: | |
SLACK_LINK_NAMES: true | |
SLACK_MESSAGE: | |
# prettier-ignore | |
"hey @${{ github.actor }}, @mark, sorry to let you know you broke the build" | |
SLACK_CHANNEL: feed-github | |
SLACK_COLOR: ${{ job.status }} |