From d8082b793d1c75434dc1192f231fcbeb04c6e152 Mon Sep 17 00:00:00 2001 From: Rowin <33234293+Rowin206@users.noreply.github.com> Date: Mon, 19 Oct 2020 15:23:37 +0200 Subject: [PATCH] Create test.yml --- tests/.github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 tests/.github/workflows/test.yml diff --git a/tests/.github/workflows/test.yml b/tests/.github/workflows/test.yml new file mode 100644 index 00000000..9411f404 --- /dev/null +++ b/tests/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Run Jest Action + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x] + + 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 install + - run: npm test