mirror of
https://github.com/coderaiser/cloudcmd.git
synced 2026-01-23 10:45:47 +00:00
feature: github actions: use bun
This commit is contained in:
parent
99980c7f1d
commit
a5f93523c1
3 changed files with 11 additions and 7 deletions
7
.github/workflows/docker.yml
vendored
7
.github/workflows/docker.yml
vendored
|
|
@ -9,14 +9,17 @@ jobs:
|
|||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- uses: oven-sh/setup-bun@v1
|
||||
with:
|
||||
bun-version: latest
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16.x
|
||||
- name: Install Redrun
|
||||
run: npm i redrun -g
|
||||
run: bun i redrun -g --no-save
|
||||
- name: NPM Install
|
||||
run: npm install
|
||||
run: bun i --no-save
|
||||
- name: Lint
|
||||
run: redrun lint
|
||||
- name: Build
|
||||
|
|
|
|||
7
.github/workflows/nodejs.yml
vendored
7
.github/workflows/nodejs.yml
vendored
|
|
@ -14,14 +14,17 @@ 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: npm i redrun -g
|
||||
run: bun i redrun -g --no-save
|
||||
- name: Install
|
||||
run: npm install
|
||||
run: bun i --no-save
|
||||
- name: Lint
|
||||
run: redrun fix:lint
|
||||
- uses: actions/cache@v3
|
||||
|
|
|
|||
|
|
@ -7,9 +7,7 @@
|
|||
"fontello.json"
|
||||
],
|
||||
"rules": {
|
||||
"webpack/apply-externals": "off",
|
||||
"github/convert-npm-to-bun": "off",
|
||||
"github/install-bun": "off"
|
||||
"webpack/apply-externals": "off"
|
||||
},
|
||||
"match": {
|
||||
"base64": {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue