Skip to content

Commit

Permalink
Update actions (#736)
Browse files Browse the repository at this point in the history
* 0.0.0

* fix: update actions

* fix: remove semantic release dependency
  • Loading branch information
MauricioRobayo authored Aug 15, 2024
1 parent cdac852 commit d7485a1
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 14 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ jobs:
name: Build, lint, and test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: "npm"
- name: Install Dependencies
run: npm ci
Expand All @@ -26,7 +26,7 @@ jobs:
run: npm run build
- name: Upload build
if: github.ref == 'refs/heads/main'
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: dist
path: dist
Expand All @@ -35,11 +35,11 @@ jobs:
needs: build-and-test
if: github.ref == 'refs/heads/main'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
node-version: 20
cache: "npm"
- name: Download build
uses: actions/download-artifact@v3
with:
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nextjs-google-analytics",
"version": "0.0.0-development",
"version": "0.0.0",
"description": "Google Analytics for Next.js",
"main": "dist/index.js",
"sideEffects": false,
Expand All @@ -9,8 +9,7 @@
"build": "del-cli dist && tsc",
"watch": "tsc-watch --onSuccess \"yalc push\"",
"prepublishOnly": "npm run build",
"test": "jest",
"semantic-release": "semantic-release"
"test": "jest"
},
"keywords": [
"gtag",
Expand Down Expand Up @@ -40,7 +39,6 @@
"prettier": "^3.0.0",
"react": "^18.1.0",
"react-test-renderer": "^18.1.0",
"semantic-release": "^24.0.0",
"ts-jest": "^27.1.4",
"ts-lib": "^0.0.5",
"tsc-watch": "^6.0.0",
Expand Down

0 comments on commit d7485a1

Please sign in to comment.