Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci(package-manager-ci): bring into line with main repo #37

Merged
merged 1 commit into from
Jun 1, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 13 additions & 12 deletions .github/workflows/package-manager-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,33 +5,35 @@ on:
branches:
- master

permissions:
contents: read

jobs:
pnpm:
runs-on: ${{ matrix.os }}

strategy:
matrix:
# Maintenance and active LTS
node-version: [10, 12, 14, 16]
os: [ubuntu-latest]
node-version: [14, 16]
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- name: Use Node.js
uses: actions/setup-node@v3.2.0
id: setup_node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install with pnpm
id: install_package_manager
run: |
curl -L https://unpkg.com/@pnpm/self-installer | node
pnpm install

- name: Run tests
id: test
run: |
pnpm run test

Expand All @@ -41,25 +43,24 @@ jobs:
strategy:
matrix:
# Maintenance and active LTS
node-version: [10, 12, 14, 16]
os: [ubuntu-latest]
node-version: [14, 16]
os: [ubuntu-18.04]

steps:
- uses: actions/checkout@v3
with:
persist-credentials: false

- name: Use Node.js
id: setup_node
uses: actions/setup-node@v3.2.0
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Install with yarn
id: install_package_manager
run: |
curl -o- -L https://yarnpkg.com/install.sh | bash
yarn install --ignore-engines

- name: Run tests
id: test
run: |
yarn run test