Skip to content

Commit 82b6281

Browse files
authored
Merge pull request #175 from alioguzhan/upgrade-actions
chore: upgrade actions in workflow files
2 parents e68a87f + 3ecf4fb commit 82b6281

File tree

7 files changed

+19
-12
lines changed

7 files changed

+19
-12
lines changed

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616

1717
steps:
1818
- name: Checkout repository
19-
uses: actions/checkout@v2
19+
uses: actions/checkout@v4
2020
with:
2121
# We must fetch at least the immediate parents so that if this is
2222
# a pull request then we can checkout the head.

.github/workflows/npmtest.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ jobs:
1717
node: [18, 20, 22]
1818
os: [ubuntu-latest]
1919
steps:
20-
- uses: actions/checkout@v1
21-
- uses: actions/setup-node@v1
20+
- uses: actions/checkout@v4
21+
- uses: actions/setup-node@v4
2222
with:
2323
node-version: ${{ matrix.node }}
2424
- name: npm install, build, test and coverage

.github/workflows/pages.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,10 @@ jobs:
2323
runs-on: ubuntu-latest
2424
steps:
2525
- name: Checkout
26-
uses: actions/checkout@v3
26+
uses: actions/checkout@v4
2727

2828
- name: Set up Node
29-
uses: actions/setup-node@v3
29+
uses: actions/setup-node@v4
3030
with:
3131
node-version: 20
3232
cache: 'yarn'
@@ -38,13 +38,13 @@ jobs:
3838
run: yarn build:example
3939

4040
- name: Setup Pages
41-
uses: actions/configure-pages@v3
41+
uses: actions/configure-pages@v5
4242

4343
- name: Upload artifact
44-
uses: actions/upload-pages-artifact@v1
44+
uses: actions/upload-pages-artifact@v4
4545
with:
4646
path: './example/build'
4747

4848
- name: Deploy to GitHub Pages
4949
id: deployment
50-
uses: actions/deploy-pages@v1
50+
uses: actions/deploy-pages@v4

.github/workflows/release-please.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,10 @@ jobs:
1313
with:
1414
command: manifest
1515

16-
- uses: actions/checkout@v3
16+
- uses: actions/checkout@v4
1717
if: ${{ steps.release.outputs.release_created }}
1818

19-
- uses: actions/setup-node@v3
19+
- uses: actions/setup-node@v4
2020
with:
2121
node-version: 20.x
2222
registry-url: 'https://registry.npmjs.org'

example/_redirects

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
"test": "jest --coverage",
3131
"test:watch": "jest --coverage --watch",
3232
"test:ci": "cross-env CI=1 jest",
33-
"build:example": "cd example && yarn install && yarn run build && cp _redirects build/",
33+
"build:example": "cd example && yarn install && yarn run build",
3434
"prepare": "husky"
3535
},
3636
"peerDependencies": {

vercel.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"redirects": [
3+
{
4+
"source": "/react-editext/:path*",
5+
"destination": "/:path*"
6+
}
7+
]
8+
}

0 commit comments

Comments
 (0)