🏡 index : github.com/captn3m0/which-electron.git

author Nemo <me@captnemo.in> 2021-07-18 17:28:14.0 +05:30:00
committer Nemo <me@captnemo.in> 2021-07-18 17:30:21.0 +05:30:00
commit
4c3cfedc9cb5dc50dc0e512475a6f428eef11e3c [patch]
tree
ca123d1647eac0ade1da36f4b237cf1d059c85fc
parent
1c72d60761f4df15a0a38b78d2939e6b6c1d3870
download
4c3cfedc9cb5dc50dc0e512475a6f428eef11e3c.tar.gz

[tests] Run tests on all supported node versions



Diff

 .github/workflows/action.yml | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/.github/workflows/action.yml b/.github/workflows/action.yml
index 8779e4d..0a3c917 100644
--- a/.github/workflows/action.yml
+++ a/.github/workflows/action.yml
@@ -1,13 +1,16 @@
on: push
name: Main Workflow
jobs:
  runNpmStuff:
  tests:
    strategy:
      matrix:
        node: ['16', '14', '12']
    name: Run NPM Stuff
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v1
    - uses: actions/setup-node@v2
      with:
        node-version: '16'
        node-version: ${{matrix.node}}
    - run: npm install
    - run: npm test