Skip to content

Commit

Permalink
feat: upgraded to node v18, added .nvmrc and updated workflows (#1729)
Browse files Browse the repository at this point in the history
* feat: upgraded to node v18, added .nvmrc and updated workflows

* refactor: updated packages

* chore: add CHANGELOG and version bump entry for v4.0.0

* refactor: updated node version to 18.15 in dockerfile

* chore: re-introduced CHANGELOG and version bump entry for v4.0.0

* refactor: added engines field to package file

---------

Co-authored-by: Muhammad Abdullah Waheed <[email protected]>
Co-authored-by: Adam Stankiewicz <[email protected]>
Co-authored-by: Hamzah Ullah <[email protected]>
  • Loading branch information
4 people authored Jul 13, 2023
1 parent 3755e5c commit 83f393e
Show file tree
Hide file tree
Showing 8 changed files with 1,154 additions and 7,196 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,15 @@ jobs:
RUNJSHINT: true
steps:
- uses: actions/checkout@v2
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- uses: actions/setup-python@v2
with:
python-version: '3.8'
architecture: x64
- uses: actions/setup-node@v2
with:
node-version: 16
node-version: ${{ env.NODE_VER }}
- run: pip install -r requirements/ci.txt
- name: Run tox
env:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Setup Nodejs Env
run: echo "NODE_VER=`cat .nvmrc`" >> $GITHUB_ENV
- name: setup python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: 12
node-version: ${{ env.NODE_VER }}
- name: Install requirements
run: make requirements
- name: Build package
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16
18
4 changes: 4 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ fix: fixing name of table used by model fetching method
--------
chore: more orphaned content transmission logging

[4.0.0]
-------
feat!: upgraded to Node v18, added .nvmrc and updated workflows.

[3.67.0]
--------
fix: compare lowered input email address to lowered auth user record email address during bulk enrollment.
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ RUN pip install nodeenv
# Must be done after Python requirements, since nodeenv is installed
# via pip.
# The node environment is already 'activated' because its .../bin was put on $PATH.
RUN nodeenv /edx/app/nodeenv --node=16.15.1 --prebuilt
RUN nodeenv /edx/app/nodeenv --node=18.15 --prebuilt

RUN mkdir -p /edx/var/log

Expand Down
2 changes: 1 addition & 1 deletion enterprise/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
Your project description goes here.
"""

__version__ = "3.69.1"
__version__ = "4.0.0"

default_app_config = "enterprise.apps.EnterpriseConfig"
Loading

0 comments on commit 83f393e

Please sign in to comment.