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

Upgrade PostCSS Preset Env #331

Merged
merged 15 commits into from
Jan 8, 2024
Merged
Show file tree
Hide file tree
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
6 changes: 6 additions & 0 deletions .changeset/healthy-radios-own.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"10up-toolkit": major
---

Update postcss-preset-env to ^9.0.0 from ^7.0.0
Swap postcss-editor-styles with postcss-editor-styles-wrapper which is compatible with PostCSS 8
13 changes: 4 additions & 9 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ jobs:
runs-on: ${{ matrix.os }}
strategy:
fail-fast: false
# Test node 16/18 on Ubuntu
# Test node 16 on macOS/Windows
# Enable linting only for node 16 + ubuntu
# Test node 16/18/20 on Ubuntu
# Test node 18 on macOS/Windows
# Enable linting only for node 20 & Ubuntu
matrix:
os: [ubuntu-latest]
node: [16, 18, 20]
Expand All @@ -30,7 +30,7 @@ jobs:
node: 18
- os: windows-latest
node: 18
- node: 16
- node: 20
is_base_node_version: true
- os: ubuntu-latest
is_base_os_version: true
Expand Down Expand Up @@ -58,11 +58,6 @@ jobs:
key: ${{ env.COMMIT_SHA }}--test-dist-${{ matrix.node }}-${{ matrix.os }}
restore-keys: ${{ env.DIST_RESTORE_KEYS }}

# See https://github.com/npm/cli/issues/3385
- name: upgrade npm
run: npm i npm@7.20.3 -g
if: matrix.needs_npm_upgrade

- name: npm ci
run: |
npm ci
Expand Down
Loading
Loading