dashpresshq/dashpress

View on GitHub
.github/workflows/release.yml

Summary

Maintainability
Test Coverage
name: Build

on:
  push:
    branches: [release]

jobs:
  publish:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v3
      - uses: actions/setup-node@v3
        with:
          node-version: 21
      - run: npm ci
      - name: Start Redis
        uses: supercharge/redis-github-action@1.4.0
      - run: npm run verify
      - uses: JS-DevTools/npm-publish@v1
        with:
          token: ${{ secrets.NPM_TOKEN }}