Skip to content

Commit

Permalink
Fix package-manager CI (#2189)
Browse files Browse the repository at this point in the history
* Do not support Yarn for LTS

* fixup
  • Loading branch information
mcollina committed Apr 8, 2020
1 parent 8ba959d commit a7b4b2a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 15 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/package-manager-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ jobs:
strategy:
matrix:
# Maintenance and active LTS
node-version: [8.x, 10.x]
node-version: [8.x, 10.x, 12.x]
os: [ubuntu-16.04]

steps:
- uses: actions/checkout@v1

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

Expand All @@ -38,21 +38,21 @@ jobs:
strategy:
matrix:
# Maintenance and active LTS
node-version: [8.x, 10.x]
node-version: [8.x, 10.x, 12.x]
os: [ubuntu-16.04]

steps:
- uses: actions/checkout@v1

- name: Use Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}

- name: Install with yarn
run: |
curl -o- -L https://yarnpkg.com/install.sh | bash
yarn install
yarn install --ignore-engines
- name: Run tests
run: |
Expand Down
23 changes: 13 additions & 10 deletions docs/LTS.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,21 @@ A "month" is to be a period of 30 consecutive days.

### Schedule

| Version | Release Date | End Of LTS Date | Node.js |
| :------ | :----------- | :-------------- | :-------------- |
| 1.0.0 | 2018-03-06 | 2019-09-01 | 6, 8, 9, 10, 11 |
| 2.0.0 | 2019-02-25 | TBD | 6, 8, 10, 11 |
| Version | Release Date | End Of LTS Date | Node.js |
| :------ | :----------- | :-------------- | :------------------- |
| 1.0.0 | 2018-03-06 | 2019-09-01 | 6, 8, 9, 10, 11 |
| 2.0.0 | 2019-02-25 | TBD | 6, 8, 10, 11, 12, 13 |

<a name="supported-os"></a>

### CI tested operating systems

| CI | OS | Version | Package Manager | Node.js |
|----------------|---------|------------------------|---------------------------|-----------|
| Github Actions | Linux | Ubuntu 16.04 | npm | 6,8,10,12 |
| Github Actions | Linux | Ubuntu 16.04 | yarn,pnpm | 8,10 |
| Github Actions | Windows | Windows Server 2016 R2 | npm | 6,8,10,12 |
| Github Actions | MacOS | macOS X Mojave 10.14 | npm | 6,8,10,12 |
| OS | Version | Package Manager | Node.js |
|---------|------------------------|---------------------------|-----------|
| Linux | Ubuntu 16.04 | npm | 6,8,10,12 |
| Linux | Ubuntu 16.04 | pnpm | 8,10,12 |
| Linux | Ubuntu 16.04 | yarn | 8,10,12 |
| Windows | Windows Server 2016 R2 | npm | 6,8,10,12 |
| MacOS | macOS X Mojave 10.14 | npm | 6,8,10,12 |

Using yarn might require passing the `--ignore-engines` flag.

0 comments on commit a7b4b2a

Please sign in to comment.