Skip to content

Commit

Permalink
chore(gh workflows): use node version 18.x
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohammer5 committed Mar 21, 2024
1 parent b5c63f9 commit eea976f
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/dhis2-preview-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x

- uses: c-hive/gha-yarn-cache@v1
- run: yarn install --frozen-lockfile
Expand Down
16 changes: 8 additions & 8 deletions .github/workflows/dhis2-verify-lib.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x

- uses: c-hive/gha-yarn-cache@v1
- run: |
yarn install --frozen-lockfile
yarn setup
NODE_OPTIONS=--openssl-legacy-provider yarn setup
- name: Build
run: yarn build
run: NODE_OPTIONS=--openssl-legacy-provider yarn build

- run: ./scripts/create-artifact.sh

Expand All @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x

- uses: actions/download-artifact@v2
with:
Expand All @@ -67,7 +67,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x

- uses: actions/download-artifact@v2
with:
Expand Down Expand Up @@ -97,7 +97,7 @@ jobs:

- uses: actions/setup-node@v1
with:
node-version: 14.x
node-version: 18.x

- uses: actions/download-artifact@v2
with:
Expand All @@ -112,7 +112,7 @@ jobs:
uses: cypress-io/github-action@v2
with:
# This should be a command that starts the server to test against.
start: 'yarn cy:start'
start: 'yarn cy:start:legacy'
wait-on: 'http://localhost:5000'
wait-on-timeout: 300
record: true
Expand All @@ -136,7 +136,7 @@ jobs:
token: ${{env.GH_TOKEN}}
- uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18.x
cache: 'yarn'

- uses: actions/download-artifact@v2
Expand Down
4 changes: 2 additions & 2 deletions collections/forms/i18n/en.pot
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ msgstr ""
"Content-Type: text/plain; charset=utf-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=(n != 1)\n"
"POT-Creation-Date: 2024-03-21T01:41:39.370Z\n"
"PO-Revision-Date: 2024-03-21T01:41:39.370Z\n"
"POT-Creation-Date: 2024-03-21T09:13:47.826Z\n"
"PO-Revision-Date: 2024-03-21T09:13:47.826Z\n"

msgid "Upload file"
msgstr "Upload file"
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@
"build:lib": "./scripts/build.js",
"build:docs": "./scripts/build-docs.js",
"build:api": "./scripts/generate-api-docs.js",
"cy:start:legacy": "NODE_OPTIONS=--openssl-legacy-provider yarn cy:start",
"cy:start": "yarn build:lib && STORYBOOK_TESTING=1 yarn start",
"cy:open": "wait-on 'http://localhost:5000' && cypress open",
"cy:run": "wait-on 'http://localhost:5000' && cypress run",
"cy:run": "wait-on 'http://localhost:5000' && cypress run --config-file=cypress.config.js",
"cy:test": "./scripts/cypress.js",
"format": "d2-style apply",
"format:staged": "d2-style apply --staged",
Expand Down

0 comments on commit eea976f

Please sign in to comment.