Skip to content

Commit ca03313

Browse files
committed
Update GitHub Actions workflow to use actions/checkout@v4 and actions/setup-node@v4
1 parent ad3a47a commit ca03313

File tree

3 files changed

+20
-153
lines changed

3 files changed

+20
-153
lines changed

.github/workflows/main.yml

Lines changed: 20 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,32 @@ on:
77
jobs:
88
publish-gpr:
99
runs-on: ubuntu-latest
10-
steps :
11-
- uses: actions/checkout@v2
12-
- uses: actions/setup-node@v1
10+
11+
steps:
12+
- uses: actions/checkout@v4
13+
14+
# Set Git user name and email
15+
- name: Set Git user name and email
16+
run: |
17+
git config --global user.email "[email protected]"
18+
git config --global user.name "itsfuad"
19+
20+
- uses: actions/setup-node@v4
1321
with:
1422
node-version: 20
1523
registry-url: https://npm.pkg.github.com/
1624
scope: '@itsfuad'
25+
1726
- run: npm install
1827
- run: npx tsc
28+
29+
# Run npm version to auto-increment the version number
30+
- name: Auto-increment version number
31+
run: npm version patch --force
32+
env:
33+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
34+
35+
# Publish the package with the updated version number
1936
- run: npm publish
2037
env:
2138
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

animation.d.ts

Lines changed: 0 additions & 34 deletions
This file was deleted.

animation.js

Lines changed: 0 additions & 116 deletions
This file was deleted.

0 commit comments

Comments
 (0)