Skip to content

Commit

Permalink
Upgrade PostCSS Preset Env (#331)
Browse files Browse the repository at this point in the history
Co-authored-by: Nícholas André <nicholas.andre@10up.com>
  • Loading branch information
Antonio-Laguna and nicholasio authored Jan 8, 2024
1 parent 067f10a commit 091bb26
Show file tree
Hide file tree
Showing 7 changed files with 28,735 additions and 30,386 deletions.
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

0 comments on commit 091bb26

Please sign in to comment.