Skip to content

1.1.0

1.1.0 #19

Workflow file for this run

name: Pipeline
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- run: docker-compose up -d
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm run lint
- run: npm run format-check
- run: npm run build
- run: npm test
env:
CI: true
- run: docker-compose down
if: always()
- run: npx codecov
if: ${{ matrix.node-version == '18.x' }}
- run: npm run maybe-publish
if: ${{ github.ref == 'refs/heads/main' && matrix.node-version == '18.x' }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}