Skip to content

Commit

Permalink
Create main.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
winetree94 committed Jul 29, 2024
1 parent be46567 commit 24a670a
Showing 1 changed file with 44 additions and 0 deletions.
44 changes: 44 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
on:
push:
branches:
- main

jobs:
publish:
runs-on: ubuntu-latest
permissions:
contents: read
deployments: write
name: Publish to Cloudflare Pages
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup Node.js environment
uses: actions/[email protected]
with:
node-version: 20

- name: prepare
run: |
chmod +x ./prepare.sh
./prepare.sh
shell: bash

- name: Setup Yarn
uses: threeal/[email protected]

- name: yarn
run: yarn

- name: build xterm-pty
run: yarn xterm-pty:build

- name: binary install
run: yarn binary:install

- name: build containers
run: yarn wasm:build

- name: build app
run: yarn app:build

0 comments on commit 24a670a

Please sign in to comment.