Skip to content

Commit

Permalink
Merge pull request #1313 from Agoric/mfig/test-latest-and-last-node
Browse files Browse the repository at this point in the history
build: check against latest 12.x and 14.x
  • Loading branch information
michaelfig authored Jul 20, 2020
2 parents 9896a65 + e1bcf9f commit 2c506a2
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 47 deletions.
19 changes: 9 additions & 10 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,17 @@ jobs:

# Prerequisites

# FIXME: Reenable after 2020-04-01 when Github cache doesn't take forever.
#- name: cache Go modules
# uses: actions/cache@v1
# with:
# path: ~/go/pkg/mod
# key: ${{ runner.os }}-go-${{ hashFiles('packages/cosmic-swingset/go.sum') }}
# restore-keys: |
# ${{ runner.os }}-go-

- uses: actions/setup-node@v1
with:
node-version: '12.16.1'
node-version: '12.x'
- name: cache node modules
uses: actions/cache@v1
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# 'yarn install' must be done at the top level, to build all the
# cross-package symlinks
- run: yarn install
Expand Down
19 changes: 9 additions & 10 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,18 +13,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1

- uses: actions/setup-node@v1
with:
node-version: '12.16.1'

# FIXME: Reenable after 2020-04-01 when Github cache doesn't take forever.
#- name: cache node modules
# uses: actions/cache@v1
# with:
# path: ~/.cache/yarn
# key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-
node-version: '12.x'
- name: cache node modules
uses: actions/cache@v1
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# 'yarn install' must be done at the top level, to build all the
# cross-package symlinks
Expand Down
40 changes: 20 additions & 20 deletions .github/workflows/test-all-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,36 +9,36 @@ on:
pull_request:

jobs:
build:
test-all:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['12.16.1', '12.x', '14.x']
steps:
- uses: actions/checkout@v1

- uses: actions/setup-node@v1
with:
node-version: '12.16.1'

# FIXME: Reenable after 2020-04-01 when Github cache doesn't take forever.
#- name: cache node modules
# uses: actions/cache@v1
# with:
# path: ~/.cache/yarn
# key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
# restore-keys: |
# ${{ runner.os }}-yarn-
node-version: '12.x'
- name: cache node modules
uses: actions/cache@v1
with:
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Set up Go 1.14
uses: actions/setup-go@v1
with:
go-version: 1.14

# FIXME: Reenable after 2020-04-01 when Github cache doesn't take forever.
#- name: cache Go modules
# uses: actions/cache@v1
# with:
# path: ~/go/pkg/mod
# key: ${{ runner.os }}-go-${{ hashFiles('packages/cosmic-swingset/go.sum') }}
# restore-keys: |
# ${{ runner.os }}-go-
- name: cache Go modules
uses: actions/cache@v1
with:
path: ~/go/pkg/mod
key: ${{ runner.os }}-go-${{ hashFiles('packages/cosmic-swingset/go.sum') }}
restore-keys: |
${{ runner.os }}-go-
# 'yarn install' must be done at the top level, to build all the
# cross-package symlinks
Expand Down
19 changes: 12 additions & 7 deletions .github/workflows/test-dapp-encouragement.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,22 +9,27 @@ on:
pull_request:

jobs:
build:
dapp-encouragement:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.18.0, 14.4.0]
node-version: ['12.16.1', '12.x', '14.x']
steps:

- name: Checkout agoric-sdk
uses: actions/checkout@v2

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Checkout agoric-sdk
uses: actions/checkout@v2
- name: Set up Go 1.13
uses: actions/setup-go@v1
- name: cache node modules
uses: actions/cache@v1
with:
go-version: 1.13
path: ~/.cache/yarn
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
# Select a branch on dapp-encouragement to test against by adding text to the body of the
# pull request. For example: #dapp-encouragement-branch: zoe-release-0.7.0
Expand Down

0 comments on commit 2c506a2

Please sign in to comment.