Skip to content

Commit

Permalink
Merge pull request #144 from aeternity/update-sdk
Browse files Browse the repository at this point in the history
chore: update sdk to 14, improve types
  • Loading branch information
davidyuk authored Oct 30, 2024
2 parents 76898f0 + e8589e9 commit e3ad1b4
Show file tree
Hide file tree
Showing 22 changed files with 1,916 additions and 1,387 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/_validate-npm.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
workflow_call:

jobs:
build_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.x
cache: npm
- run: npm ci
- run: npm run lint
- run: npm run build
- run: npm test
6 changes: 3 additions & 3 deletions .github/workflows/integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: integration

on:
push:
branches: [ master ]
branches: [master]

jobs:
validate:
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v2.3.1
uses: ./.github/workflows/_validate-npm.yml
publish:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [ validate ]
needs: [validate]
secrets: inherit
deploy:
uses: aeternity/github-actions/.github/workflows/[email protected]
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pull-request-cleanup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: pull-request-cleanup

on:
pull_request:
branches: [ master ]
types: [ closed ]
branches: [master]
types: [closed]

jobs:
rollback:
Expand All @@ -21,5 +21,5 @@ jobs:
TAG: "pr-${{ github.event.number }}"
cleanup:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [ delete-tag ]
needs: [delete-tag]
secrets: inherit
6 changes: 3 additions & 3 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@ name: pull-request

on:
pull_request:
branches: [ master ]
branches: [master]

jobs:
validate:
uses: aeternity/github-actions/.github/workflows/_validate-npm.yml@v2.3.1
uses: ./.github/workflows/_validate-npm.yml
publish:
uses: aeternity/github-actions/.github/workflows/[email protected]
needs: [ validate ]
needs: [validate]
secrets: inherit
deploy:
uses: aeternity/github-actions/.github/workflows/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release-please

on:
push:
branches: [ master ]
branches: [master]

jobs:
release-please:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: release

on:
push:
tags: [ v* ]
tags: [v*]

jobs:
publish:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM node:18 as builder
FROM node:20-alpine as builder

WORKDIR /app

Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ This is a simple Web Application that demonstrates Aeternity Contracts.
## Installation

1. Clone this repo and install required dependencies

```bash
git clone https://github.com/aeternity/aepp-contracts/
cd aepp-contracts
Expand All @@ -32,7 +33,7 @@ The current form should be self explanatory.

## Build Setup

``` bash
```bash
# install dependencies
npm install

Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down
Loading

0 comments on commit e3ad1b4

Please sign in to comment.