From 3ce98ff05d4966285f121bdfaa447e76f36cbb6e Mon Sep 17 00:00:00 2001 From: isaced Date: Wed, 27 Nov 2024 20:43:46 +0800 Subject: [PATCH] chore: add GitHub Actions workflow for testing --- .github/workflows/test.yml | 17 +++++++++++++++++ 1 file changed, 17 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 00000000..0622a49b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,17 @@ +name: Test + +on: + push: + pull_request: + +jobs: + publish-npm: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 + with: + node-version: 20 + registry-url: https://registry.npmjs.org/ + - run: npm ci + - run: npm run build \ No newline at end of file