Skip to content

Commit

Permalink
ESM Updates
Browse files Browse the repository at this point in the history
* Add support for IPNS names on Filebase
* Updates to ESM
  • Loading branch information
jtsmedley authored Jan 5, 2024
1 parent 1ef4ad5 commit dc37f76
Show file tree
Hide file tree
Showing 20 changed files with 227,702 additions and 100,328 deletions.
4 changes: 2 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"env": {
"commonjs": true,
"es6": true,
"node": true
},
Expand All @@ -10,7 +9,8 @@
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {}
}
3 changes: 2 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Publish Test [Pinata]
env:
Expand All @@ -33,6 +33,7 @@ jobs:
filebaseBucket: ${{ secrets.FILEBASE_BUCKET }}
filebaseKey: ${{ secrets.FILEBASE_KEY }}
filebaseSecret: ${{ secrets.FILEBASE_SECRET }}
key: ${{ vars.FILEBASE_NAME }}

- name: Publish Test [Infura]
env:
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,12 +83,13 @@ with:

### Filebase starter
```
uses: aquiladev/ipfs-action@v1
uses: aquiladev/ipfs-action@master
with:
path: ./build
service: filebase
pinName: 'ipfs-action'
filebaseBucket: ${{ secrets.FILEBASE_BUCKET }}
filebaseKey: ${{ secrets.FILEBASE_KEY }}
filebaseSecret: ${{ secrets.FILEBASE_SECRET }}
key: ${{ vars.FILEBASE_NAME }}
```
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,5 @@ outputs:
ipns:
description: 'IPNS CID if applicable'
runs:
using: 'node16'
using: 'node20'
main: 'dist/index.js'
Loading

0 comments on commit dc37f76

Please sign in to comment.