Skip to content

Commit

Permalink
Bump
Browse files Browse the repository at this point in the history
  • Loading branch information
lucemans committed Dec 14, 2023
1 parent 6779915 commit 2aeaef1
Show file tree
Hide file tree
Showing 7 changed files with 3,468 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .github/actions/install/action.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Install Tools & Dependencies
description: Installs pnpm, Node.js & package dependencies

runs:
using: composite
steps:
- name: Setup PNPM
uses: pnpm/[email protected]
with:
run_install: false
standalone: true
package_json_file: package.json
version: 8

- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 19
cache: pnpm

- name: Install dependencies
run: pnpm install
shell: bash
36 changes: 36 additions & 0 deletions .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: 🚚 Deploy

on:
push:
branches:
- master

env:
NODE_OPTIONS: "--max_old_space_size=8192"

jobs:
deploy:
runs-on: ubuntu-20.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Install Tools & Dependencies
uses: ./.github/actions/install

- name: Build
run: NODE_ENV=production pnpm run build

- name: Edgeserver Upload
uses: lvkdotsh/[email protected]
with:
app_id: "177192648782647296"
server: https://api.edgeserver.io
token: ${{ secrets.SIGNAL_TOKEN }}
directory: dist
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules
.env
dist
12 changes: 12 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>$points cool</title>
</head>
<body>
<div id="root">points are cool</div>
<noscript>you neeed to enable javascript</noscript>
</body>
</html>
21 changes: 21 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "points-cool",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "vite",
"dev": "vite",
"build": "vite build"
},
"keywords": [],
"author": "",
"license": "ISC",
"dependencies": {
"@ens-tools/format": "^0.0.2",
"viem": "^1.20.0",
"vite": "^5.0.9",
"wagmi": "^1.4.12"
}
}
Loading

0 comments on commit 2aeaef1

Please sign in to comment.