Skip to content

Commit

Permalink
minor ci tweaks.
Browse files Browse the repository at this point in the history
..
  • Loading branch information
igalklebanov committed Jan 19, 2025
1 parent 6eaf754 commit ca11632
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 5 deletions.
19 changes: 18 additions & 1 deletion .github/workflows/preview.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,23 @@
name: preview

on: [push, pull_request]
on:
push:
branches:
- master
pull_request:
paths-ignore:
- '.github/workflows/test.yml'
- 'assets/**'
- 'docs/**'
- 'example/**'
- 'site/**'
- 'test/**'
- '.npmignore'
- '.prettierignore'
- '.prettierrc'
- '.renovaterc.json'
- '*.md'
- 'LICENSE'

jobs:
release:
Expand Down
33 changes: 29 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,34 @@ name: tests

on:
push:
branches: [master, v*]
branches:
- master
paths-ignore:
- '.github/workflows/preview.yml'
- 'assets/**'
- 'docs/**'
- 'example/**'
- 'site/**'
- '.npmignore'
- '.prettierignore'
- '.prettierrc'
- '.renovaterc.json'
- '*.md'
- 'LICENSE'
pull_request:
branches: [master, v*]
paths-ignore:
- '.github/workflows/preview.yml'
- 'assets/**'
- 'docs/**'
- 'example/**'
- 'site/**'
- '.npmignore'
- '.prettierignore'
- '.prettierrc'
- '.renovaterc.json'
- '*.md'
- 'LICENSE'
workflow_dispatch:

jobs:
node:
Expand All @@ -14,7 +39,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x, 23.x]

steps:
- uses: actions/checkout@v4
Expand Down Expand Up @@ -44,7 +69,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [18.x, 20.x, 22.x]
node-version: [18.x, 20.x, 22.x, 23.x]

steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit ca11632

Please sign in to comment.