Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

Commit

Permalink
Make sure XO is installed
Browse files Browse the repository at this point in the history
  • Loading branch information
stoe committed Dec 31, 2019
1 parent 43b9470 commit c190489
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
name: Node CI
on:
push:
branches:
- master
pull_request:
branches:
- master

on: [push]
name: Node CI

jobs:
test:
Expand Down
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ LABEL "homepage"="https://github.com/stoe/xo-action"
LABEL "maintainer"="Stefan Stölzle <stefan@github.com>"

COPY package*.json ./
RUN npm --global install xo
RUN npm ci
COPY . .

Expand Down

0 comments on commit c190489

Please sign in to comment.