From e6ac84306606803a4eaccd962b96e331e0aa970e Mon Sep 17 00:00:00 2001 From: Austin Tinius Date: Tue, 19 May 2020 00:32:18 -0700 Subject: [PATCH] Create nodejs.yml trying to get automatic builds going --- .github/workflows/nodejs.yml | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .github/workflows/nodejs.yml diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml new file mode 100644 index 0000000..4cce9cf --- /dev/null +++ b/.github/workflows/nodejs.yml @@ -0,0 +1,28 @@ +name: Node.js CI + +on: + push: + branches: [ development ] + pull_request: + branches: [ developemnt ] + +jobs: + build: + + runs-on: ${{ matrix.os }} + + strategy: + matrix: + node-version: [10.x, 12.x] + os: [ubuntu-latest, macos-latest, windows-latest] + + 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 ci + - run: npm run build --if-present + - run: npm run compile + - run: npm run package