diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 00000000..8bd13393 --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,33 @@ +# Configuration for the release-drafter action +name: Release Drafter +on: + push: + branches: + - main + pull_request: + types: + - opened + - reopened + - synchronize + - edited + +jobs: + build: + runs-on: ubuntu-latest + steps: + - name: Checkout code + uses: actions/checkout@v2 + + - name: Setup Node.js + uses: actions/setup-node@v2 + with: + node-version: 14 + + - name: Install dependencies + run: npm install + + - name: Build project + run: npm run build + + - name: Run tests + run: npm run test