Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 7 additions & 6 deletions .github/workflows/make-dapp.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
inputs:
node_version:
description: 'Node.js version to use'
default: '20'
default: '24'
type: string
build_command:
description: 'Command to build the project'
default: 'yarn build:prod'
default: 'npm run build:prod'
type: string
manifest_name:
description: 'Name of the .dapp application'
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up Git
run: git fetch --prune --unshallow
Expand All @@ -72,12 +72,13 @@ jobs:
echo "VERSION=${VERSION}" >> $GITHUB_ENV

- name: Set up Node.js environment
uses: actions/setup-node@v4
uses: actions/setup-node@v5
with:
node-version: ${{ inputs.node_version }}
cache: 'npm'

- name: Install dependencies
run: yarn install
run: npm ci

- name: Build the project
run: ${{ inputs.build_command }}
Expand Down Expand Up @@ -108,7 +109,7 @@ jobs:
cd ..

- name: Upload .dapp file
uses: actions/upload-artifact@v4
uses: actions/upload-artifact@v5
with:
name: ${{ inputs.dapp_name }}.dapp
path: ${{ inputs.dapp_name }}.dapp
Binary file removed .yarn/install-state.gz
Binary file not shown.
5 changes: 0 additions & 5 deletions .yarnrc.yml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ Specs: https://github.com/BeamMW/bans/wiki

To launch the dapp:
```bash
yarn install
yarn start
npm install
npm start
```
Loading
Loading