ci: make it work (#5728)

Signed-off-by: tison <wander4096@gmail.com>
This commit is contained in:
tison
2023-09-20 06:11:00 +08:00
committed by GitHub
parent 5308be3ba6
commit 49683ffd5d
2 changed files with 18 additions and 21 deletions

View File

@@ -1,19 +1,16 @@
name: Node.js CI
on: [push, pull_request]
name: CI
on:
pull_request:
branches: [ main ]
push:
branches: [ main ]
jobs:
tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm cit
- uses: actions/checkout@v3
- uses: oven-sh/setup-bun@v1
with:
bun-version: 1.0.2
- run: bun install