Skip to content

Commit

Permalink
run pr on ubuntu as well
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieudutour committed Jan 13, 2020
1 parent 074bbcf commit f2b3152
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/lona-master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- master

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

steps:
Expand Down Expand Up @@ -75,16 +75,16 @@ jobs:
name: lona-variables
path: .artifact-path

build-sketch-library:
sketch-library:
runs-on: macos-latest
needs: [build-documentation]
needs: [documentation]
steps:
- name: Get variables from build-documentation (1/2)
- name: Get variables from documentation (1/2)
uses: actions/download-artifact@v1
with:
name: lona-variables
path: .artifact-path
- name: Get variables from build-documentation (2/2)
- name: Get variables from documentation (2/2)
run: |
while read p; do
echo "$p"
Expand Down Expand Up @@ -116,16 +116,16 @@ jobs:
asset_name: library.sketch
asset_content_type: application/zip

build-npm-package:
npm-package:
runs-on: ubuntu-latest
needs: [build-documentation]
needs: [documentation]
steps:
- name: Get variables from build-documentation (1/2)
- name: Get variables from documentation (1/2)
uses: actions/download-artifact@v1
with:
name: lona-variables
path: .artifact-path
- name: Get variables from build-documentation (2/2)
- name: Get variables from documentation (2/2)
run: |
while read p; do
echo "$p"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lona-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ on:
- master

jobs:
build:
runs-on: macos-latest
documentation:
runs-on: ubuntu-latest

steps:
- name: Get the latest version of the repository
Expand All @@ -33,7 +33,7 @@ jobs:
key: ${{ runner.os }}-node

- name: Install the Lona Compiler
run: npm install lonac @lona/workspace-to-sketch-library
run: npm install lonac

- name: Generate the documentation website
uses: Lona/lona-docs-github-action@v1
Expand Down

0 comments on commit f2b3152

Please sign in to comment.