Skip to content

eslint prefer-template (#53) #18

eslint prefer-template (#53)

eslint prefer-template (#53) #18

Workflow file for this run

name: CI
on: [ push ]
env:
CI: true
node-version: 20
jobs:
lint:
uses: haraka/.github/.github/workflows/lint.yml@master
test:
needs: lint
runs-on: ${{ matrix.os }}
services:
redis:
image: redis
ports:
- 6379:6379
strategy:
matrix:
os: [ ubuntu-latest ]
node-version: [ 18, 20 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Node.js ${{ matrix.node-version }}
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test
test-win:
needs: lint
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ windows-latest ]
node-version: [ 18, 20 ]
fail-fast: false
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
name: Node.js ${{ matrix.node-version }}
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm test