name: CI Pipeline on: [push, pull_request] jobs: build: runs-on: ubuntu-22.04 strategy: matrix: node-version: [20.x] steps: - uses: actions/checkout@v4 - name: Use Node.js uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} registry-url: "https://registry.npmjs.org" - run: npm ci - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}