From 57b69c015f5a80633531fa2c1ce65193f370b169 Mon Sep 17 00:00:00 2001 From: Alfi Maulana Date: Mon, 4 Mar 2024 22:31:09 +0700 Subject: [PATCH] ci(test): add `test-package` job --- .github/workflows/test.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index bfa67c4..fc0f3be 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -30,6 +30,26 @@ jobs: - name: Check Lint run: yarn lint + test-package: + name: Test Package + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4.1.1 + + - name: Setup Node.js + uses: actions/setup-node@v4.0.2 + with: + node-version: latest + + - name: Setup Yarn + uses: threeal/setup-yarn-action@v2.0.0 + with: + version: stable + + - name: Test Package + run: yarn test + test-action: name: Test Action runs-on: ${{ matrix.os }}-latest