Skip to content

Commit

Permalink
chore: update node v12 to v22
Browse files Browse the repository at this point in the history
  • Loading branch information
DanielSchiavini committed Nov 26, 2024
1 parent b8cea4b commit 6eff085
Show file tree
Hide file tree
Showing 5 changed files with 3,349 additions and 11 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '20'
node-version: '22'
cache: npm
- run: npm install
- run: npm run build
- run: npm run lint
16 changes: 8 additions & 8 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4
- name: get-npm-version
id: package-version
uses: martinbeentjes/npm-get-version-action@main
Expand Down Expand Up @@ -39,17 +39,17 @@ jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup .npmrc file to publish to npm
uses: actions/setup-node@v1
- uses: actions/checkout@v4
- name: Setup node version
uses: actions/setup-node@v4
with:
node-version: '12.x'
registry-url: 'https://registry.npmjs.org'
node-version: '22'
cache: npm
- name: Install modules
run: npm install
run: npm ci
- name: Build
run: npm run build
- name: Publish to npm
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
node_modules
dist/**/*
lib/**/*
package-lock.json
pnpm-lock.yaml
yarn.lock
test/temp.test.ts
test/rpcUrls.test.ts
cache/
Loading

0 comments on commit 6eff085

Please sign in to comment.