Limit the number of generated rows in view_top_proxy_files #173
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: NodeCI | |
on: | |
push: | |
branches: [ master ] | |
pull_request: | |
branches: [ master ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [ 20.x ] | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Setup Redis | |
uses: zhulik/[email protected] | |
with: | |
redis version: 5 | |
- name: Shutdown Ubuntu MySQL | |
run: sudo service mysql stop | |
- name: Setup MariaDB | |
uses: getong/[email protected] | |
with: | |
mariadb version: '10.5.19' | |
mysql root password: '' | |
mysql database: 'jsdelivr-stats-test' | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: npm install, build, and test | |
run: | | |
npm ci | |
npm run build --if-present | |
npm test | |
env: | |
CI: true |