From ae4bce3a113fc97ba599b3428455c445b1de0a66 Mon Sep 17 00:00:00 2001 From: Aetherinox Date: Thu, 4 Apr 2024 13:10:00 -0700 Subject: [PATCH] ci: update verify --- .github/workflows/verify.yml | 44 ++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 .github/workflows/verify.yml diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml new file mode 100644 index 00000000..cf87de1f --- /dev/null +++ b/.github/workflows/verify.yml @@ -0,0 +1,44 @@ +name: Verify +on: + push: + pull_request: + workflow_dispatch: + +jobs: + lint: + runs-on: ubuntu-latest + steps: + + - name: "Lint › Checkout" + uses: actions/checkout@v3 + + - name: "Lint › Setup NodeJS" + uses: actions/setup-node@v3 + with: + node-version: '16' + + - name: "Lint › Install NPM Modules" + run: npm ci + + - name: "Lint › Run" + run: npm run lint + + test: + needs: + - lint + runs-on: ubuntu-latest + steps: + + - name: "Test › Checkout" + uses: actions/checkout@v3 + + - name: "Test › Setup NodeJS" + uses: actions/setup-node@v3 + with: + node-version: '16' + + - name: "Test › Install NPM Modules" + run: npm ci + + - name: "Test › Run" + run: npm test \ No newline at end of file