Skip to content

Commit

Permalink
update test infra
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Nov 1, 2024
1 parent 6fb18f7 commit 4189f2a
Show file tree
Hide file tree
Showing 4 changed files with 42 additions and 30 deletions.
11 changes: 0 additions & 11 deletions .github/dependabot.yml

This file was deleted.

23 changes: 23 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": ["config:base"],
"labels": [":dependabot:", ":label: dependencies"],
"packageRules": [
{
"matchManagers": ["github-actions"],
"groupName": "github-actions"
}
],
"npm": {
"stabilityDays": 3
},
"rangeStrategy": "bump",
"prHourlyLimit": 10,
"vulnerabilityAlerts": {
"labels": [":label: security"],
"automerge": false,
"assignees": ["@runspired"],
"enabled": true
},
"ignorePaths": ["node_modules/**", "**/node_modules/**"]
}
37 changes: 19 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,7 @@ on:
pull_request:
push:
branches:
- master
- main
- beta
- release
- 'release-*'
- 'lts-*'
tags:
- '*'

Expand All @@ -22,26 +17,32 @@ jobs:
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v2
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- uses: actions/setup-node@v4
with:
node-version: "16"
cache: "yarn"
- name: Yarn install
run: yarn --frozen-lockfile
registry-url: 'https://registry.npmjs.org'
node-version-file: 'package.json'
node-version: "18"
cache: "pnpm"
- name: Pnpm install
run: pnpm--frozen-lockfile
- name: Lint js
run: yarn lint:js
run: pnpm lint:js

basic-tests:
name: Basic Tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4
- uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0
- uses: actions/setup-node@v4
with:
node-version: "16"
cache: "yarn"
registry-url: 'https://registry.npmjs.org'
node-version-file: 'package.json'
node-version: "18"
cache: "pnpm"
- name: Install Dependencies
run: yarn install --frozen-lockfile
run: pnpm install
- name: Basic Development Tests
run: yarn test:development
run: pnpm test:development
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
.eslintcache
/DEBUG
/packages/*/DEBUG
/.github/
/.sass-cache
/connect.lock
/coverage/*
Expand Down

0 comments on commit 4189f2a

Please sign in to comment.