aboutsummaryrefslogtreecommitdiffhomepage
path: root/.github/workflows/tests.yml
blob: 5a87e1ee17d3d131e018bdcac461c5a31f9f8866 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
name: Tests

on: [push, pull_request]

jobs:
  test:
    name: Run tests
    runs-on: ubuntu-latest

    steps:
      # Initialization
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v2
        with:
          node-version: '18'
      - run: npm ci
      - run: sudo apt-get install chromium-chromedriver
      
      - name: Copy configuration
        run: cp config.json.example config.json
      - name: Run tests
        run: npm run test