Skip to content

Commit 96b73df

Browse files
committed
fix: ci
1 parent 6755170 commit 96b73df

File tree

2 files changed

+10
-28
lines changed

2 files changed

+10
-28
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -3,31 +3,16 @@ name: CI
33
on: [push, pull_request]
44

55
jobs:
6-
build_and_lint:
6+
build:
77
runs-on: ubuntu-latest
88
steps:
9-
- name: Checkout the repository
10-
uses: actions/checkout@v3
9+
- uses: actions/checkout@v4
10+
- uses: ./.github/workflows/setup
11+
- run: npm run build
1112

12-
- name: Setup Node.js
13-
uses: actions/setup-node@v3
14-
with:
15-
node-version: lts/*
16-
cache: yarn
17-
18-
- name: Retrieve the cached "node_modules" directory (if present)
19-
uses: actions/cache@v3
20-
id: node-cache
21-
with:
22-
path: node_modules
23-
key: node-modules-${{ runner.os }}-${{ hashFiles('yarn.lock') }}
24-
25-
- name: Install dependencies (if the cached directory was not found)
26-
if: steps.node-cache.outputs.cache-hit != 'true'
27-
run: yarn install --frozen-lockfile
28-
29-
- name: Test to see if the project compiles
30-
run: bash build.sh
31-
32-
- name: Perform automated checks
33-
run: bash lint.sh
13+
lint:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/checkout@v4
17+
- uses: ./.github/workflows/setup
18+
- run: npm run lint

.yarnrc.yml

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)