Skip to content

Commit

Permalink
chore: switch readme image based on dark mode and pin node version (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesHenry committed Jun 10, 2022
1 parent eb7da85 commit cb47e7a
Show file tree
Hide file tree
Showing 4 changed files with 74 additions and 74 deletions.
19 changes: 8 additions & 11 deletions .github/workflows/ci.yml
Expand Up @@ -20,15 +20,14 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
# only lint on latest LTS node
node-version: 16
node-version: '16.15.0'
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm -g i npm@8.10.0
- run: npm -g i npm@8.12.1
- run: npm ci
- run: npm run ci:lint

Expand All @@ -39,15 +38,14 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
# only e2e on latest LTS node
node-version: 16
node-version: '16.15.0'
- uses: actions/cache@v2
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- run: npm -g i npm@8.10.0
- run: npm -g i npm@8.12.1
- run: npm ci
- run: npm run e2e

Expand All @@ -57,7 +55,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node: [14, 16, 18]
node: [14, '16.15.0', 18]
script: ["ci:test:unit", "ci:test:integration"]
steps:
- uses: actions/checkout@v2
Expand All @@ -74,7 +72,7 @@ jobs:
run: |
git config --global user.email test@example.com
git config --global user.name "Tester McPerson"
- run: npm -g i npm@8.10.0
- run: npm -g i npm@8.12.1
- run: npm ci
- run: npm run ${{ matrix.script }}

Expand All @@ -90,8 +88,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
# only run windows tests on latest LTS node
node-version: 16
node-version: '16.15.0'
# caching on windows is LUDICROUSLY slow
# - name: Get npm cache directory
# id: npm-cache
Expand All @@ -107,7 +104,7 @@ jobs:
run: |
git config --global user.email test@example.com
git config --global user.name "Tester McPerson"
- run: npm -g i npm@8.10.0
- run: npm -g i npm@8.12.1
- run: npm ci
- env:
LERNA_CI_TYPE: ${{ matrix.subset }}
Expand Down
5 changes: 4 additions & 1 deletion README.md
@@ -1,7 +1,10 @@
**Important note: this project [is changing stewardship to Nrwl](https://github.com/lerna/lerna/issues/3121)! Your favorite tool will continue to live on. Stay tuned for updates and soon a project roadmap!**

<p align="center">
<img alt="Lerna" src="https://user-images.githubusercontent.com/645641/79596653-38f81200-80e1-11ea-98cd-1c6a3bb5de51.png" width="480">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://user-images.githubusercontent.com/900523/173044458-fd0b57f6-6374-4265-98b5-eb8f55fe1fb3.svg">
<img alt="Lerna" src="https://user-images.githubusercontent.com/645641/79596653-38f81200-80e1-11ea-98cd-1c6a3bb5de51.png" width="480">
</picture>
</p>

<p align="center">
Expand Down

0 comments on commit cb47e7a

Please sign in to comment.