Merge pull request #1038 from cewert/workflows-use-latest-versions
Make workflows use latest LTS release + cache npm
This commit is contained in:
commit
e6052d0162
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
|
@ -6,12 +6,13 @@ on:
|
|||
- 'locale/**'
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3
|
||||
- uses: actions/setup-node@64ed1c7eab4cce3362f8c340dee64e5eaeef8f7c # v3
|
||||
with:
|
||||
node-version: "18.13.0"
|
||||
node-version: "lts/*"
|
||||
cache: "npm"
|
||||
- run: npm ci
|
||||
- run: npx ropm install
|
||||
- run: make dev
|
||||
|
|
5
.github/workflows/master-release.yml
vendored
5
.github/workflows/master-release.yml
vendored
|
@ -6,12 +6,13 @@ on:
|
|||
|
||||
jobs:
|
||||
test-build-release:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: "18.13.0"
|
||||
node-version: "lts/*"
|
||||
cache: "npm"
|
||||
- run: npm ci
|
||||
- run: npx ropm install
|
||||
- run: npm run validate
|
||||
|
|
5
.github/workflows/unstable-release.yml
vendored
5
.github/workflows/unstable-release.yml
vendored
|
@ -6,12 +6,13 @@ on:
|
|||
|
||||
jobs:
|
||||
test-build-release:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: "18.13.0"
|
||||
node-version: "lts/*"
|
||||
cache: "npm"
|
||||
- run: npm ci
|
||||
- run: npx ropm install
|
||||
- run: npm run validate
|
||||
|
|
5
.github/workflows/validate.yml
vendored
5
.github/workflows/validate.yml
vendored
|
@ -3,12 +3,13 @@ on: [push, pull_request]
|
|||
|
||||
jobs:
|
||||
run:
|
||||
runs-on: ubuntu-22.04
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: "18.13.0"
|
||||
node-version: "lts/*"
|
||||
cache: "npm"
|
||||
- run: npm ci
|
||||
- run: npx ropm install
|
||||
- run: npm run validate
|
||||
|
|
Loading…
Reference in New Issue
Block a user