Skip to content

Commit

Permalink
Merge pull request railwayapp#6 from railwayapp/jr/add-github-ci
Browse files Browse the repository at this point in the history
Add GitHub CI
  • Loading branch information
coffee-cup authored Jan 23, 2022
2 parents d59256a + 16741f5 commit cccb9d6
Showing 1 changed file with 32 additions and 0 deletions.
32 changes: 32 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
name: CI

on: [push]

env:
CI: true

jobs:
build:
name: Build
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@v2

- name: Use Node 12
uses: actions/setup-node@v1
with:
node-version: 12.x

- uses: actions/cache@v2
with:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}

- name: Install packages
run: yarn install

- name: Build
run: yarn build

0 comments on commit cccb9d6

Please sign in to comment.