Skip to content

Commit

Permalink
Update GitHub Actions for Node v20 (#4550)
Browse files Browse the repository at this point in the history
  • Loading branch information
axelstudios authored Mar 5, 2024
1 parent 86103c5 commit 83431b3
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 24 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ jobs:
matrix:
test_env: [django, functional, api]
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
# using `-v3` in key to clear old cache due to errors
Expand Down Expand Up @@ -52,7 +52,7 @@ jobs:
docker exec --env DJANGO_LOG_LEVEL seed_web ./manage.py migrate
docker exec --env DJANGO_LOG_LEVEL seed_web ./manage.py create_default_user [email protected] --password=demo123
docker exec --env DJANGO_LOG_LEVEL seed_web /bin/bash -c 'echo "y" | ./manage.py make_superuser --user [email protected]'
- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
- name: Install dependencies
run: |
npm install
Expand Down Expand Up @@ -108,8 +108,8 @@ jobs:
matrix:
tox_env: [docs, precommit, mypy]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-python@v4
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.9"
- name: Install deps
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v2
uses: docker/setup-buildx-action@v3
- name: Cache Docker layers
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: /tmp/.buildx-cache
# using `v2` in key to clear old cache due to errors
Expand Down
34 changes: 19 additions & 15 deletions vendors/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 83431b3

Please sign in to comment.