Skip to content

Commit

Permalink
add action
Browse files Browse the repository at this point in the history
  • Loading branch information
jairad26 authored Feb 29, 2024
1 parent 2395cf8 commit 314ac13
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/ci-hypermode-functions.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: ci-hypermode-functions
on:
workflow_dispatch:
pull_request:
push:
branches:
- main
jobs:
build:
name: build
runs-on: ubuntu-latest
defaults:
run:
working-directory: functions
steps:
- uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: ">=20"
- name: Install dependencies
run: npm install
- name: Build the project
run: npm run build:release
- name: Publish GitHub artifact
uses: actions/upload-artifact@v4
with:
name: build
path: functions/build/release.wasm
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"esbenp.prettier-vscode",
"dbaeumer.vscode-eslint",
"streetsidesoftware.code-spell-checker"
]
}
11 changes: 11 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"editor.formatOnSave": true,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[graphql]": {
"editor.formatOnSave": false
}
}

0 comments on commit 314ac13

Please sign in to comment.