update #217
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: CI | |
on: [push] | |
jobs: | |
main: | |
name: npm test | |
runs-on: ubuntu-22.04 | |
strategy: | |
matrix: | |
version: | |
- 18 | |
- 20 | |
steps: | |
- uses: zendesk/checkout@v4 | |
- uses: zendesk/setup-node@v3 | |
with: | |
node-version: ${{ matrix.version }} | |
- name: install | |
run: | | |
sudo apt update | |
sudo apt install -y redis-server | |
npm install | |
- name: node_js ${{ matrix.version }} | |
run: | | |
redis-server --version | |
verbose=1 npm test |