Merge pull request #976 from sevenrats/update-node-version-in-ci
Update ci ubuntu version and node version
This commit is contained in:
commit
f10f6e749d
4
.github/workflows/build.yml
vendored
4
.github/workflows/build.yml
vendored
|
@ -6,12 +6,12 @@ on:
|
|||
- 'locale/**'
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
|
||||
with:
|
||||
node-version: "14.12.0"
|
||||
node-version: "18.13.0"
|
||||
- run: npm ci
|
||||
- run: npx ropm install
|
||||
- run: make dev
|
||||
|
|
4
.github/workflows/master-release.yml
vendored
4
.github/workflows/master-release.yml
vendored
|
@ -6,12 +6,12 @@ on:
|
|||
|
||||
jobs:
|
||||
test-build-release:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: "14.12.0"
|
||||
node-version: "18.13.0"
|
||||
- run: npm ci
|
||||
- run: npx ropm install
|
||||
- run: npm run validate
|
||||
|
|
4
.github/workflows/unstable-release.yml
vendored
4
.github/workflows/unstable-release.yml
vendored
|
@ -6,12 +6,12 @@ on:
|
|||
|
||||
jobs:
|
||||
test-build-release:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: "14.12.0"
|
||||
node-version: "18.13.0"
|
||||
- run: npm ci
|
||||
- run: npx ropm install
|
||||
- run: npm run validate
|
||||
|
|
4
.github/workflows/validate.yml
vendored
4
.github/workflows/validate.yml
vendored
|
@ -3,12 +3,12 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-20.04
|
||||
runs-on: ubuntu-22.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: "14.12.0"
|
||||
node-version: "18.13.0"
|
||||
- run: npm ci
|
||||
- run: npx ropm install
|
||||
- run: npm run validate
|
||||
|
|
|
@ -243,8 +243,8 @@ function getRelativeDayName(date) as string
|
|||
end if
|
||||
|
||||
' Check for Yesterday
|
||||
todayMidnight = now.AsSeconds() - (now.AsSeconds() MOD 86400)
|
||||
dateMidnight = date.AsSeconds() - (date.AsSeconds() MOD 86400)
|
||||
todayMidnight = now.AsSeconds() - (now.AsSeconds() mod 86400)
|
||||
dateMidnight = date.AsSeconds() - (date.AsSeconds() mod 86400)
|
||||
|
||||
if todayMidnight - dateMidnight = 86400
|
||||
return "yesterday"
|
||||
|
@ -266,8 +266,8 @@ function getDurationStringFromSeconds(seconds) as string
|
|||
minutes = seconds / 60.0
|
||||
|
||||
if minutes > 60
|
||||
hours = (minutes - (minutes MOD 60)) / 60
|
||||
minutes = minutes MOD 60
|
||||
hours = (minutes - (minutes mod 60)) / 60
|
||||
minutes = minutes mod 60
|
||||
end if
|
||||
|
||||
if hours > 0
|
||||
|
|
Loading…
Reference in New Issue
Block a user