From da7c64bf4de5bdc213304c64946cd3c8eee3dd2f Mon Sep 17 00:00:00 2001 From: Fuwn Date: Sun, 9 May 2021 23:00:06 -0700 Subject: ci(actions): check action, check if project compiles --- .github/workflows/check.yml | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .github/workflows/check.yml diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml new file mode 100644 index 0000000..56c83c5 --- /dev/null +++ b/.github/workflows/check.yml @@ -0,0 +1,25 @@ +name: Check ✅/ 🚫 + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + +jobs: + check: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [ 14.x, 15.x, 16.x ] + steps: + - name: Checkout 🛒 + uses: actions/checkout@v2 + + - name: Setup Node.js - ${{ matrix.node-version }} 🚧 + uses: actions/setup-node@v2 + with: + node-version: ${{ matrix.node-version }} + + - name: Check 🙋‍♀️ + run: npm build -- cgit v1.2.3