From f3b703e9fa8a0909fbd0eb32c1b857e6408bb5d5 Mon Sep 17 00:00:00 2001 From: yini-chen Date: Tue, 16 Apr 2024 17:11:20 +0800 Subject: [PATCH] test: github actions --- .github/workflows/smoketest.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/smoketest.yml diff --git a/.github/workflows/smoketest.yml b/.github/workflows/smoketest.yml new file mode 100644 index 0000000..940d521 --- /dev/null +++ b/.github/workflows/smoketest.yml @@ -0,0 +1,23 @@ +name: Smoke Test + +on: [push] + +jobs: + smoke-test: + runs-on: macOS-latest + steps: + - uses: actions/checkout@v4 + + - name: Set up Node.js + uses: actions/setup-node@v1 + with: + node-version: "20" + + - name: Install yarn + run: npm install --global yarn + + - name: Install Dependencies + run: yarn + + - name: Run Smoke Test + run: yarn -v