Skip to content

2.0.3

2.0.3 #288

name: Build and publish
on:
push:
branches: [master]
jobs:
publish:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
redis-version: [6]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Start Redis
uses: supercharge/[email protected]
with:
redis-version: ${{ matrix.redis-version }}
- run: npm ci
- run: npm run lint
- run: npm test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}