fix: disable bun for CI

This commit is contained in:
coderaiser 2023-09-04 15:59:27 +03:00
parent 34258c6f27
commit ee5a0fb4b2
4 changed files with 12 additions and 11 deletions

View file

@ -14,9 +14,9 @@ jobs:
with:
node-version: 16.x
- name: Install Redrun
run: bun i redrun -g --no-save
run: npm i redrun -g
- name: NPM Install
run: bun i --no-save
run: npm install
- name: Lint
run: redrun lint
- name: Build

View file

@ -14,17 +14,14 @@ jobs:
- 20.x
steps:
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install Redrun
run: bun i redrun -g --no-save
run: npm i redrun -g
- name: Install
run: bun i --no-save
run: npm install
- name: Lint
run: redrun fix:lint
- uses: actions/cache@v3

View file

@ -1,8 +1,8 @@
import process from 'node:process';
import {
run,
cutEnv,
} from 'madrun';
import process from 'node:process';
const testEnv = {
THREAD_IT_COUNT: 0,

View file

@ -1,5 +1,7 @@
{
"plugins": ["cloudcmd"],
"plugins": [
"cloudcmd"
],
"ignore": [
"html",
"fixture*",
@ -7,7 +9,9 @@
"fontello.json"
],
"rules": {
"webpack/apply-externals": "off"
"webpack/apply-externals": "off",
"github/convert-npm-to-bun": "off",
"github/install-bun": "off"
},
"match": {
"base64": {
@ -53,4 +57,4 @@
"merge-duplicate-functions": "off"
}
}
}
}