diff options
Diffstat (limited to '')
-rw-r--r-- | .github/workflows/node.yml | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/.github/workflows/node.yml b/.github/workflows/node.yml new file mode 100644 index 0000000..e4c4153 --- /dev/null +++ b/.github/workflows/node.yml @@ -0,0 +1,24 @@ +name: Node.js CI + +on: + push: + branches: [master] + pull_request: + branches: [master] + +jobs: + build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: "14.x" + cache: "yarn" + - name: Install dependencies + run: yarn --frozen-lockfile + - name: Lint + run: yarn lint + - name: Build the project + run: yarn build:ci |