Skip to content

Commit

Permalink
try ci
Browse files Browse the repository at this point in the history
  • Loading branch information
dmca-glasgow committed May 5, 2022
1 parent 5831b1a commit f1219bf
Showing 1 changed file with 20 additions and 3 deletions.
23 changes: 20 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,14 @@ jobs:
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node-version: [17.x]
node-version: [16.x, 17.x]
r-version: [4.1.x]

steps:
# -----------------------
# SETUP -----------------
# -----------------------

- name: Checkout repo
uses: actions/checkout@v2
with:
Expand Down Expand Up @@ -47,8 +51,21 @@ jobs:
- name: Cache Renv packages
uses: r-lib/actions/setup-renv@v2

- run: npm run build-release
- run: npm link ./release
- name: Build release
run: npm run build-release

- name: Link release (Mac/Linux)
if: startsWith(matrix.os, 'windows') == false
run: npm link ./release

- name: Link release (Windows)
if: startsWith(matrix.os, 'windows')
run: npm link .\release

# -----------------------
# SETUP -----------------
# -----------------------

- run: npm run test

# - run: |
Expand Down

0 comments on commit f1219bf

Please sign in to comment.