Merge pull request #16 from hyperweb-io/feat/workflows #1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Tests Prod | |
on: | |
push: | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
run-tests: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Setup Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Set up Yarn | |
uses: threeal/[email protected] | |
with: | |
cache: false | |
- name: Install Dependencies | |
run: | | |
echo "YARN_ENABLE_IMMUTABLE_INSTALLS=false" >> $GITHUB_ENV | |
npm install -g create-hyperweb-app | |
- name: hyperweb | |
run: | | |
cha --template hyperweb --name hyperweb | |
cd hyperweb | |
yarn build | |
- name: chain-admin | |
run: | | |
cha --template chain-admin --name chain-admin | |
cd chain-admin | |
yarn build |