From bbe400af058cf64f057e932032f8187a9f294732 Mon Sep 17 00:00:00 2001 From: Miika Henttonen Date: Sun, 7 Jul 2024 16:30:00 +0300 Subject: [PATCH] Add test workflow --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..21d2779 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: Test + +on: + pull_request: + branches: + - master + push: + branches: + - master + +jobs: + test: + runs-on: ubuntu-latest + permissions: + packages: read + contents: read + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 22 + registry-url: https://npm.pkg.github.com/ + - run: npm ci + env: + MUSA_GITHUB_PAT: ${{ secrets.MUSA_GITHUB_PAT }} + - run: npm run build