1
0
mirror of https://github.com/ZFC-Digital/cf-clearance-scraper.git synced 2025-08-31 16:00:41 +00:00
Files
cf-clearance-scraper/.github/workflows/check_test.yaml
Muhammet Derviş Aygan f4f407320d Update check_test.yaml
2025-02-01 18:09:33 +03:00

29 lines
720 B
YAML

name: Run Test
on:
push:
branches: ["main"]
pull_request:
branches: ["main"]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- name: Install dependencies
run: |
npm install
sudo apt-get install -y libnss3 libatk-bridge2.0-0 libxcomposite1 libxdamage1 libxrandr2 libgbm1 libasound2t64 libpangocairo-1.0-0 libatk1.0-0 libatk-bridge2.0-0 libgtk-3-0 xvfb
- name: Run a test
run: npm test