From 818da39955783f8cccddc7bc3b684fdca2df5b2b Mon Sep 17 00:00:00 2001 From: Nam Kwon Date: Mon, 15 Jun 2020 11:15:06 -0400 Subject: [PATCH] add action --- .github/workflows/lint_test.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/lint_test.yml diff --git a/.github/workflows/lint_test.yml b/.github/workflows/lint_test.yml new file mode 100644 index 00000000..9aaa69c2 --- /dev/null +++ b/.github/workflows/lint_test.yml @@ -0,0 +1,28 @@ +# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node +# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions + +name: Node.js CI + +on: + push: + branches: [action] + #pull_request: + #branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10] + + steps: + - uses: actions/checkout@v2 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + # - run: npm ci + # - run: npm run build --if-present + - run: npm test