Skip to content

Commit

Permalink
Update dependencies and use NodeJS v20 (LTS) (#254)
Browse files Browse the repository at this point in the history
* Support unreleased solc-typed-ast where Solidity sources are represented by uint8 arrays
  • Loading branch information
blitz-1306 authored Jan 18, 2024
1 parent 5cb073e commit c4f25bd
Show file tree
Hide file tree
Showing 6 changed files with 718 additions and 2,067 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/node.js.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@ jobs:
strategy:
matrix:
# See https://nodejs.org/en/about/releases/
node-version: [ 16.x ]
node-version: [ 20.x ]

env:
SOL_AST_COMPILER_CACHE: ${{ github.workspace }}/.compiler_cache

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4

- name: Use NodeJS ${{ matrix.node-version }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
Expand Down Expand Up @@ -63,7 +63,7 @@ jobs:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/develop'
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- id: non_merge_commit_message
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/npm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ jobs:
publish:
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: 16
node-version: 20
registry-url: "https://registry.npmjs.org"
- run: npm install
- run: npm publish
Expand Down
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
16.14.0
20.11.0
Loading

0 comments on commit c4f25bd

Please sign in to comment.