Added test-and-release

This commit is contained in:
SamTV12345 2024-03-16 20:40:16 +01:00
parent 107598b4b3
commit cb56ec0c17
2 changed files with 22 additions and 4 deletions

View file

@ -0,0 +1,18 @@
name: Node.js Package
on: [push]
jobs:
backend:
uses: ./.github/workflows/backend-tests.yml
secrets: inherit
frontend:
uses: ./.github/workflows/frontend-tests.yml
secrets: inherit
release:
if: ${{ github.ref == 'refs/heads/master'|| github.ref == 'refs/heads/main' }}
needs:
- backend
- frontend
uses: ./.github/workflows/npmpublish.yml
secrets: inherit