Skip to content

Commit

Permalink
Add GitHub Actions CI workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
owenvoke authored and mebeim committed Jun 26, 2020
1 parent c3699ce commit bcab713
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: CI

on: ['push', 'pull_request']

jobs:
ci:
runs-on: ubuntu-latest

name: CI

steps:

- name: Checkout
uses: actions/checkout@v2

- name: Install npm dependencies
run: npm ci

- name: Test
run: npm test

- name: Build
run: bash scripts/build.sh

- name: Deploy
run: bash scripts/deploy.sh
if: github.repository == 'tldr-pages/tldr' && github.branch == 'master'

0 comments on commit bcab713

Please sign in to comment.