Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added Node.js workflow. #12

Closed
wants to merge 31 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
85f2d14
Create node.js.yml
AdvaitDhingra May 13, 2021
812b899
Modified node yml file
AdvaitDhingra May 13, 2021
99c0330
minor chnages
AdvaitDhingra May 13, 2021
3cec5d0
minor chnage
AdvaitDhingra May 13, 2021
286e041
Added line break at eof
AdvaitDhingra May 13, 2021
52092a1
very minor chnage
AdvaitDhingra May 13, 2021
e24ce19
Trying something
AdvaitDhingra May 13, 2021
bb1a940
Should work now
AdvaitDhingra May 13, 2021
bdcf942
Made it work
AdvaitDhingra May 13, 2021
338f4ac
Minor update
AdvaitDhingra May 13, 2021
25cd44b
Final chnages
AdvaitDhingra May 13, 2021
65f6a3c
minor fix (spelling
AdvaitDhingra May 13, 2021
4ec80f3
More spelling
AdvaitDhingra May 13, 2021
056612b
chnaged 12.13.8 to 12.x
AdvaitDhingra May 15, 2021
1eaaf92
Attempted to fix permission denied error
AdvaitDhingra May 15, 2021
2357245
Revert "Attempted to fix permission denied error"
AdvaitDhingra May 15, 2021
e70b041
Possible fix
AdvaitDhingra May 15, 2021
19ab6bb
Another possible fix
AdvaitDhingra May 15, 2021
03a2774
Another possible fix
AdvaitDhingra May 15, 2021
faa643f
Another attempt
AdvaitDhingra May 15, 2021
fa7932c
Minor fix
AdvaitDhingra May 15, 2021
6290dbd
Very minor fix
AdvaitDhingra May 15, 2021
6d09047
Another attempt
AdvaitDhingra May 15, 2021
73b0ebf
Merge branch 'icecube:main' into main
AdvaitDhingra Jun 11, 2021
1e626ae
Trying something
AdvaitDhingra Jun 11, 2021
1568e44
Minor chnage
AdvaitDhingra Jun 11, 2021
d5aeae1
node v2 update
AdvaitDhingra Jun 11, 2021
629d4fe
Trying something
AdvaitDhingra Jun 11, 2021
9ae09ec
Syntax error fix
AdvaitDhingra Jun 11, 2021
6892e14
Trying something
AdvaitDhingra Jun 11, 2021
4852a30
try
AdvaitDhingra Jun 11, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Create node.js.yml
  • Loading branch information
AdvaitDhingra authored May 13, 2021
commit 85f2d1441eb8c89558577cf255b7513bde42ae00
30 changes: 30 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# 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: [ main ]
pull_request:
branches: [ main ]

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.x, 14.x, 15.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm test