name: npm on: push: branches: [master] jobs: npm: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - name: Use Node.js 22 uses: actions/setup-node@v4 with: node-version: 22 registry-url: 'https://registry.npmjs.org/' cache: npm - run: npm ci - run: npm run build - run: npx pleb@7 publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}