🏡 index : github.com/captn3m0/youtube-cue.git

author Nemo <commits@captnemo.in> 2021-07-21 13:22:32.0 +05:30:00
committer Nemo <commits@captnemo.in> 2021-07-21 13:22:32.0 +05:30:00
commit
b0fd29cbdb998b8f67d7d3f0807d627f5ff21f37 [patch]
tree
18dbe31d03412f6259a919028787bf4786ae06b6
parent
deca37893735a9c6e79e050a238850d4be58c344
download
b0fd29cbdb998b8f67d7d3f0807d627f5ff21f37.tar.gz

[ci] 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