Skip to content

Commit

Permalink
Remove unused changes
Browse files Browse the repository at this point in the history
Signed-off-by: Evaldo Felipe <contato@evaldofelipe.com>
  • Loading branch information
evaldofelipe committed Oct 5, 2023
1 parent 749321f commit 12acaf1
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 46 deletions.
60 changes: 16 additions & 44 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,74 +2,46 @@ name: Checks
on: [push]
env:
NODE_OPTIONS: "--max-old-space-size=6144"
NODE_VERSION: 16
jobs:
build:
name: Build
lint:
name: Lint
runs-on: ubuntu-latest
strategy:
matrix:
node: [16]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install Additional dependencies
run: |
sudo apt-get update -y
sudo apt-get -y install rsync libudev-dev libusb-1.0-0-dev
- name: Use Node ${{ env.NODE_VERSION }}
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ matrix.node }}
cache: "yarn"
- name: Install packages
run: yarn install
- name: Build
run: yarn build
run: yarn install --frozen-lockfile
- name: Lint
run: yarn lint
test:
name: Test
runs-on: ubuntu-latest
strategy:
matrix:
ci_index: [0, 1, 2, 3]
ci_total: [4]
node: [16]
steps:
- name: Checkout repo
uses: actions/checkout@v3
- name: Install Additional dependencies
run: |
sudo apt-get update -y
sudo apt-get -y install rsync libudev-dev libusb-1.0-0-dev
- name: Use Node ${{ env.NODE_VERSION }}
- name: Use Node ${{ matrix.node }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
node-version: ${{ matrix.node }}
cache: "yarn"
- name: Install packages
run: yarn install
run: yarn install --frozen-lockfile
- name: Build
run: yarn build
- name: Execute tests
run: yarn test --bail --parallel
env:
CI_TOTAL: ${{ matrix.ci_total }}
CI_INDEX: ${{ matrix.ci_index }}
# lint:
# name: Lint
# runs-on: ubuntu-latest
# needs: build
# steps:
# - name: Checkout repo
# uses: actions/checkout@v3
# - name: Install Additional dependencies
# run: |
# sudo apt-get update -y
# sudo apt-get -y install rsync libudev-dev libusb-1.0-0-dev
# - name: Use Node ${{ env.NODE_VERSION }}
# uses: actions/setup-node@v3
# with:
# node-version: ${{ env.NODE_VERSION }}
# cache: "yarn"
# - name: Install packages
# run: yarn install --frozen-lockfile
# - name: Build
# run: yarn build
# - name: Lint
# run: yarn lint
- name: Test
run: yarn test --bail
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,7 @@
"redis4": "npm:redis@^4.1.0",
"ts-node": "^10.9.1",
"winston": "^3.10.0",
"zksync-web3": "^0.14.3",
"glob": "^10.3.10"
"zksync-web3": "^0.14.3"
},
"files": [
"/dist/**/*"
Expand Down

0 comments on commit 12acaf1

Please sign in to comment.