diff options
| author | Fuwn <[email protected]> | 2021-05-09 23:00:06 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2021-05-09 23:00:06 -0700 |
| commit | da7c64bf4de5bdc213304c64946cd3c8eee3dd2f (patch) | |
| tree | 898bcd37835d661de9ce95feb52731bfd36ef1b7 /.github/workflows | |
| parent | chore(git): ignore ide related files/ directories (diff) | |
| download | site-da7c64bf4de5bdc213304c64946cd3c8eee3dd2f.tar.xz site-da7c64bf4de5bdc213304c64946cd3c8eee3dd2f.zip | |
ci(actions): check action, check if project compiles
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/check.yml | 25 |
1 files changed, 25 insertions, 0 deletions
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 |