diff options
| author | stonedDiscord <stoned@derpymail.org> | 2019-12-26 20:29:47 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-26 20:29:47 +0100 |
| commit | a64ac7d022e2e38acdb5c68b48714f664f9d99fa (patch) | |
| tree | 672799d43cc1c6e4ee6dc81ee74b5c9a870abd7a /.github | |
| parent | 126b41099306ce2efe63192ca37baf42e041e406 (diff) | |
CI for webAO
Diffstat (limited to '.github')
| -rw-r--r-- | .github/workflows/nodejs.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..00312ce --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,26 @@ +name: Node CI + +on: [push] + +jobs: + build: + + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install, build, and test + run: | + npm ci + npm run build --if-present +# npm test + env: + CI: true |
