Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update sdk to 14, improve types #144

Merged
merged 9 commits into from
Oct 30, 2024
Merged
Show file tree
Hide file tree
Changes from 7 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
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
Loading