chore(deps-dev): bump chai from 4.4.1 to 5.1.2 #204
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: Test on Pull | |
on: | |
pull_request_target: | |
types: [labeled] | |
env: | |
NODE_VERSION: 20 | |
jobs: | |
security: | |
name: Check permissions for pull request runs | |
runs-on: ubuntu-latest | |
if: contains(github.event.pull_request.labels.*.name, 'safe to test') | |
steps: | |
- run: | | |
echo "Security checks passed!" | |
test: | |
needs: security | |
name: Run Mocha Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: 👀 Checkout Code | |
uses: actions/checkout@v4 | |
- name: 🏗 Install Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ env.NODE_VERSION }} | |
- name: 📦 Install Yarn | |
run: corepack enable && yarn set version stable | |
- name: 📦 Install Dependencies | |
run: yarn install | |
- name: 🧪 Run Tests | |
run: yarn lint && yarn test |