Skip to content

Commit

Permalink
fix: 🔧 Fixing ipld-explorer Builds (#2120)
Browse files Browse the repository at this point in the history
  • Loading branch information
whizzzkid authored Jun 9, 2023
1 parent f2d9430 commit 2ead256
Show file tree
Hide file tree
Showing 10 changed files with 54 additions and 102 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ jobs:
name: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.2

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3.6.0
with:
node-version: 16.12.0
- name: Setup npm@8.1.0
node-version: 18.14.0
- name: Setup npm@9.6.0
run: |
npm install -g npm@8.1.0
npm install -g npm@9.6.0
- name: Cache bigger downloads
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache
with:
path: ${{ github.workspace }}/.cache
Expand All @@ -32,7 +32,7 @@ jobs:
# Separate cache for build dir, we reuse it in release publish workflow
- name: Cache build output
if: startsWith(github.ref, 'refs/tags/v')
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: build-cache
with:
path: build
Expand Down
26 changes: 13 additions & 13 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@ jobs:
outputs:
cid: ${{ steps.ipfs.outputs.cid }}
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.2

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3.6.0
with:
node-version: 16.12.0
- name: Setup npm@8.1.0
node-version: 18.14.0
- name: Setup npm@9.6.0
run: |
npm install -g npm@8.1.0
npm install -g npm@9.6.0
- name: Download build artifact
uses: actions/download-artifact@v2
Expand All @@ -47,7 +47,7 @@ jobs:
path: build

- name: Cache bigger downloads
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache
with:
path: ${{ github.workspace }}/.cache
Expand Down Expand Up @@ -176,12 +176,12 @@ jobs:
needs: [build, publishPreview, eslint, typecheck, test-e2e, test-unit, test-storybook]
steps:
- name: Checkout 🛎️
uses: actions/checkout@v2
uses: actions/checkout@v3.5.2
with:
persist-credentials: false

- name: Cache bigger downloads
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache
with:
path: ${{ github.workspace }}/.cache
Expand All @@ -191,7 +191,7 @@ jobs:
${{ runner.os }}-
- name: Cache build dir
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: build-cache
with:
path: build
Expand All @@ -205,12 +205,12 @@ jobs:
echo ${{ needs.publishPreview.outputs.cid }} > .cid
- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3.6.0
with:
node-version: 16.12.0
- name: Setup npm@8.1.0
node-version: 18.14.0
- name: Setup npm@9.6.0
run: |
npm install -g npm@8.1.0
npm install -g npm@9.6.0
- name: Install dependencies
run: npm ci --prefer-offline --no-audit --progress=false --cache ${{ github.workspace }}/.cache/npm
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ jobs:
name: eslint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3.5.2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3.6.0
with:
node-version: 16.12.0
- name: Setup npm@8.1.0
node-version: 18.14.0
- name: Setup npm@9.6.0
run: |
npm install -g npm@8.1.0
npm install -g npm@9.6.0
- name: Cache bigger downloads
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache
with:
path: ${{ github.workspace }}/.cache
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/node-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ jobs:
node-version: ${{ steps.node_version.outputs.version }}
steps:

- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.2

- name: Use Node.js ${{ inputs.gh-node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3.6.0
with:
node-version: ${{ inputs.gh-node-version }}

Expand All @@ -54,7 +54,7 @@ jobs:
echo "version=$(node --version)" >> $GITHUB_OUTPUT
- name: Cache bigger downloads
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache
with:
path: ${{ github.workspace }}/.cache
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,18 +11,18 @@ jobs:
matrix:
backend: [go] # TODO: add 'js' – see https://github.com/ipfs/ipfs-webui/issues/1737
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3.6.0
with:
node-version: 16.12.0
- name: Setup npm@8.1.0
node-version: 18.14.0
- name: Setup npm@9.6.0
run: |
npm install -g npm@8.1.0
npm install -g npm@9.6.0
- name: Cache bigger downloads
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache
with:
path: ${{ github.workspace }}/.cache
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
name: 'test:storybook'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v3.5.2

- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v3.6.0
with:
node-version: 16.12.0
- name: Setup npm@8.1.0
node-version: 18.14.0
- name: Setup npm@9.6.0
run: |
npm install -g npm@8.1.0
npm install -g npm@9.6.0
- name: Cache bigger downloads
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache
with:
path: ${{ github.workspace }}/.cache
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/test-unit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@ jobs:
name: 'test:unit'
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.2

- name: Setup node
uses: actions/setup-node@v2
uses: actions/setup-node@v3.6.0
with:
node-version: 16.12.0
- name: Setup npm@8.1.0
node-version: 18.14.0
- name: Setup npm@9.6.0
run: |
npm install -g npm@8.1.0
npm install -g npm@9.6.0
- name: Cache bigger downloads
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache
with:
path: ${{ github.workspace }}/.cache
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tx-pull.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
tx-sync:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3.5.2
- name: Install Transifex client
run: |
curl -o- https://raw.githubusercontent.com/transifex/cli/master/install.sh | bash
Expand Down
12 changes: 6 additions & 6 deletions .github/workflows/typecheck.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ jobs:
name: typecheck
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/checkout@v3.5.2

- name: Setup node
uses: actions/setup-node@v1
uses: actions/setup-node@v3.6.0
with:
node-version: 16.12.0
- name: Setup npm@8.1.0
node-version: 18.14.0
- name: Setup npm@9.6.0
run: |
npm install -g npm@8.1.0
npm install -g npm@9.6.0
- name: Cache bigger downloads
uses: actions/cache@v2
uses: actions/cache@v3.3.1
id: cache
with:
path: ${{ github.workspace }}/.cache
Expand Down
48 changes: 0 additions & 48 deletions patches/ipld+0.29.0.patch

This file was deleted.

0 comments on commit 2ead256

Please sign in to comment.