Merge pull request #1038 from cewert/workflows-use-latest-versions

Make workflows use latest LTS release + cache npm
This commit is contained in:
Charles Ewert 2023-02-23 10:24:21 -05:00 committed by GitHub
commit e6052d0162
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 12 additions and 8 deletions

View File

@ -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

View File

@ -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

View File

@ -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

View File

@ -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