Skip to content

Commit

Permalink
fix workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
pddg committed Feb 23, 2024
1 parent ae14251 commit a86f1af
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 10 deletions.
12 changes: 9 additions & 3 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,20 @@
name: Node CI

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
branches:
- master

jobs:
build:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

strategy:
matrix:
node-version: [14.x, 16.x, 18.x]
node-version: [18.x, 20.x]

steps:
- name: Checkout source
Expand Down
8 changes: 3 additions & 5 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,18 +8,18 @@ on:

jobs:
publish:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
if: github.event.pull_request.merged == true
steps:
- name: Checkout source
uses: actions/checkout@v4
with:
fetch-depth: -1
- name: Use Node.js "14.x"
- name: Use Node.js "18.x"
uses: actions/setup-node@v4
with:
cache: npm
node-version: "14.x"
node-version: "18.x"
- name: Install dependencies
run: npm install
env:
Expand Down Expand Up @@ -61,7 +61,6 @@ jobs:
We publish new version of this package.
Cheers!
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: false
- name: Post comment
uses: mshick/add-pr-comment@v2
Expand All @@ -72,5 +71,4 @@ jobs:
We include your contributions in next release.
Cheers!
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token-user-login: "github-actions[bot]"
allow-repeats: false
2 changes: 1 addition & 1 deletion .github/workflows/reviewdog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:

jobs:
eslint:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: Run reviewdog
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/validateRenovate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ jobs:
- uses: actions/setup-node@v4
with:
cache: npm
node-version: "14.x"
node-version: "18.x"
- name: Validate config
run: npx --package renovate -c 'renovate-config-validator'

0 comments on commit a86f1af

Please sign in to comment.