diff --git a/.github/workflows/test-elara.yml b/.github/workflows/test-elara.yml new file mode 100644 index 0000000..5b1ee6e --- /dev/null +++ b/.github/workflows/test-elara.yml @@ -0,0 +1,31 @@ +name: Run Tests + +on: + push: + branches: + - test/elara + +concurrency: + group: test-run-${{ github.ref }} + cancel-in-progress: true + +jobs: + run-tests: + name: ๐Ÿงช Run Tests + runs-on: ubuntu-latest + + steps: + - name: ๐Ÿ“ฅ Checkout Code + uses: actions/checkout@v4 + + - name: ๐Ÿ› ๏ธ Setup Node + uses: actions/setup-node@v4 + with: + node-version: 'lts/*' + cache: 'npm' + + - name: ๐Ÿ“‚ Install Packages + run: npm ci --force + + - name: ๐Ÿงช Run Tests with Vitest + run: npx vitest run