Skip to content
This repository has been archived by the owner on Oct 14, 2020. It is now read-only.

Commit

Permalink
Merge pull request #17 from approvers/continuous-building
Browse files Browse the repository at this point in the history
Setup continuous building
  • Loading branch information
siketyan authored Jun 2, 2020
2 parents 14ae872 + ca0dbf9 commit 6901602
Showing 1 changed file with 21 additions and 1 deletion.
22 changes: 21 additions & 1 deletion .github/workflows/node.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
- push

jobs:
build:
lint:
runs-on: ubuntu-latest

strategy:
Expand All @@ -21,3 +21,23 @@ jobs:

- run: npm ci
- run: npm run lint

build:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master'

steps:
- uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v1
with:
node-version: 14.x

- run: npm ci
- run: npm run package

- uses: actions/upload-artifact@v1
with:
name: packages
path: packages

0 comments on commit 6901602

Please sign in to comment.