Skip to content

Commit

Permalink
ci: fixes cross hardhat (#148)
Browse files Browse the repository at this point in the history
* style: prettier

Signed-off-by: Nasfame <laciferin@gmail.com>

* ci: env fixes

Signed-off-by: Nasfame <laciferin@gmail.com>

* setup: node arm64

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: matrix arch

Signed-off-by: Nasfame <laciferin@gmail.com>

* ci: prettier

Signed-off-by: Nasfame <laciferin@gmail.com>

* checkout:main

Signed-off-by: Nasfame <laciferin@gmail.com>

* check:prettier

* try: pr types

Signed-off-by: Nasfame <laciferin@gmail.com>

* try:

Signed-off-by: Nasfame <laciferin@gmail.com>

* ci: ready_for_review

Signed-off-by: Nasfame <laciferin@gmail.com>

* pr: try

Signed-off-by: Nasfame <laciferin@gmail.com>

* prettier: ready_for vewi

Signed-off-by: Nasfame <laciferin@gmail.com>

* ci: on fixes

Signed-off-by: Nasfame <laciferin@gmail.com>

* fixes: persist creds

Signed-off-by: Nasfame <laciferin@gmail.com>

* ci: setup upterm

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: setup uptream only when req

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: setup tmate session

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: reorder os jobs

Signed-off-by: Nasfame <laciferin@gmail.com>

* ci: cross......

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: setup working directory

Signed-off-by: Nasfame <laciferin@gmail.com>

* prettier: ignore hardhat

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: fixes

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: envfile experiment

Signed-off-by: Nasfame <laciferin@gmail.com>

* ci: experiment tmate

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: serctest ENV HARHDat

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: fix  .envfile

Signed-off-by: Nasfame <laciferin@gmail.com>

* fix: cross

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: .env.tmp

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: write file action fixes

Signed-off-by: Nasfame <laciferin@gmail.com>

* fix: write file action

Signed-off-by: Nasfame <laciferin@gmail.com>

* cross: envfile

Signed-off-by: Nasfame <laciferin@gmail.com>

* ci: cross

Signed-off-by: Nasfame <laciferin@gmail.com>

* final: fixes

Signed-off-by: Nasfame <laciferin@gmail.com>

---------

Signed-off-by: Nasfame <laciferin@gmail.com>
  • Loading branch information
Hiro authored Nov 14, 2023
1 parent 53f3ef1 commit 81478ac
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/cross.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@ jobs:
check-latest: true

- name: Write environment #TODO: add coachroach ssl certificate
shell: bash
run: |
echo $envfile > .env.tmp
sed 's/ /\n/g' .env.tmp > .env
Expand Down
14 changes: 13 additions & 1 deletion .github/workflows/cross[hardhat].yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
max-parallel: 2
fail-fast: false
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
os: [windows-latest, ubuntu-latest, macos-latest]
node_version: [18, 19, 20]
architecture: [x64]

Expand All @@ -53,11 +53,23 @@ jobs:
architecture: ${{ matrix.architecture }}
check-latest: true

- uses: DamianReeves/write-file-action@master
with:
path: ${{github.workspace}}/.env.tmp
write-mode: overwrite
contents: |
${{secrets.ENVHARDHAT}}
- name: Write environment
shell: bash
run: |
echo $envfile > .env.tmp
sed 's/ /\n/g' .env.tmp > .env
# - name: Setup tmate session
# if: ${{matrix.os}}==windows-latest
# uses: mxschmitt/action-tmate@v3

- name: Install dependencies
run: pnpm install

Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
.next/
pnpm-lock.yaml
prisma/generated
hardhat/

0 comments on commit 81478ac

Please sign in to comment.