From 9805d320eb45c06bf8192dbb9ba1fa18f07f83bd Mon Sep 17 00:00:00 2001 From: Pagebakers Date: Wed, 21 Feb 2024 16:03:37 -0300 Subject: [PATCH] chore: add test workflow --- .github/workflows/test.yml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 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 000000000..4312214c1 --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,29 @@ +on: [push] + +jobs: + build: + runs-on: ubuntu-latest + name: Vitest + + steps: + - name: Checkout + uses: actions/checkout@v3 + with: + submodules: recursive + token: ${{ secrets.ACCESS_TOKEN }} + + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 18.x + + - name: Install dependencies + run: yarn + env: + YARN_ENABLE_IMMUTABLE_INSTALLS: false + + - name: Build tokens + run: yarn build:tokens + + - name: Run tests + run: yarn test:ci