Skip to content

Commit

Permalink
update ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Ansonhkg committed Oct 25, 2024
1 parent ac6c2fb commit d6f1cbf
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 31 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ jobs:
with:
registry: ghcr.io
username: ${{ github.actor }}
password: ${{ secrets.GITHUB_TOKEN }}
password: ${{ secrets.GH_PAT_FOR_SHIVA }}
- name: Pull Shiva Container
id: shiva-pull
run: docker pull ghcr.io/lit-protocol/shiva:latest
Expand Down
60 changes: 30 additions & 30 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
name: lint
on:
pull_request:
push:
branches:
- master
jobs:
linter:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout repo
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '18'
cache: 'yarn'
- name: Install rust
uses: dtolnay/[email protected]
- uses: jetli/[email protected]
with:
# Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
version: 'latest'
- name: Install project dependencies
run: yarn install
- name: Lint
run: yarn nx format:check --all
# name: lint
# on:
# pull_request:
# push:
# branches:
# - master
# jobs:
# linter:
# runs-on: ubuntu-latest
# timeout-minutes: 10
# steps:
# - name: Checkout repo
# uses: actions/checkout@v2
# with:
# fetch-depth: 0
# - name: Set up Node.js
# uses: actions/setup-node@v3
# with:
# node-version: '18'
# cache: 'yarn'
# - name: Install rust
# uses: dtolnay/[email protected]
# - uses: jetli/[email protected]
# with:
# # Optional version of wasm-pack to install(eg. 'v0.9.1', 'latest')
# version: 'latest'
# - name: Install project dependencies
# run: yarn install
# - name: Lint
# run: yarn nx format:check --all

0 comments on commit d6f1cbf

Please sign in to comment.