Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 11 additions & 11 deletions .github/workflows/pr-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ env:
jobs:
eslint:
name: Code quality
runs-on: ubuntu-latest
runs-on: scacap-small
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: 20
- uses: ScaCap/infra.gh-actions/ci/js/install-safe-chain@v1
Expand All @@ -26,20 +26,20 @@ jobs:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install packages
run: yarn
run: yarn --frozen-lockfile
- name: ESLint
run: yarn eslint

tests:
name: Unit tests
runs-on: ubuntu-latest
runs-on: scacap-small
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: 20
- uses: ScaCap/infra.gh-actions/ci/js/install-safe-chain@v1
Expand All @@ -60,14 +60,14 @@ jobs:

build:
name: Check build is committed
runs-on: ubuntu-latest
runs-on: scacap-small
steps:
- name: Checkout repo
uses: actions/checkout@v3
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
uses: actions/setup-node@v6
with:
node-version: 20
- uses: ScaCap/infra.gh-actions/ci/js/install-safe-chain@v1
Expand All @@ -77,7 +77,7 @@ jobs:
path: "**/node_modules"
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: Install packages
run: yarn
run: yarn --frozen-lockfile
- name: Build
run: yarn build
- name: Ensure that the committed dist matches the build
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,4 @@ node_modules/
coverage/
.eslintcache
.DS_Store
.idea/
1 change: 1 addition & 0 deletions .yarnrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
--install.ignore-scripts true
Loading
Loading