Skip to content

Commit

Permalink
Merge pull request #78 from Stormheg/chore/frontend-dependencies-update
Browse files Browse the repository at this point in the history
Big frontend upgrade for Node v20 support
  • Loading branch information
Stormheg authored Mar 22, 2024
2 parents e42afe9 + a4ec4d2 commit 9bca1b5
Show file tree
Hide file tree
Showing 14 changed files with 6,922 additions and 8,009 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/publish-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20

- name: Install Node dependencies
run: |
Expand All @@ -25,17 +25,17 @@ jobs:
run: |
npm run build
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Install Python dependencies
run: pip install build

- name: Build package distributions
run: python -m build

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./dist

Expand All @@ -50,7 +50,7 @@ jobs:
# Mandatory for trusted publishing
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 14
node-version: 20

- name: Install Node dependencies
run: |
Expand All @@ -25,17 +25,17 @@ jobs:
run: |
npm run build
- uses: actions/setup-python@v4
- uses: actions/setup-python@v5
with:
python-version: 3.11
python-version: 3.12

- name: Install Python dependencies
run: pip install build

- name: Build package distributions
run: python -m build

- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
path: ./dist

Expand All @@ -50,7 +50,7 @@ jobs:
# Mandatory for trusted publishing
id-token: write
steps:
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4

- name: Publish package distributions to PyPI
uses: pypa/gh-action-pypi-publish@release/v1
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ jobs:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: 14
node-version: 20
- name: Install dependencies
run: |
npm ci
Expand Down Expand Up @@ -69,7 +69,7 @@ jobs:
with:
fetch-depth: 0
- name: Set up Python ${{ matrix.python }}
uses: actions/setup-python@v4
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python }}
- name: Install dependencies
Expand All @@ -90,7 +90,7 @@ jobs:
DATABASE_URL: postgres://postgres:postgres@localhost/wagtail_ab_testing
- name: Upload coverage reports to Codecov
if: ${{ matrix.toxenv == 'py' }}
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
Loading

0 comments on commit 9bca1b5

Please sign in to comment.