This commit is contained in:
@@ -1,22 +1,23 @@
|
||||
# name: Test build
|
||||
# run-name: Test build
|
||||
# on: [push]
|
||||
name: Test build
|
||||
run-name: Test build
|
||||
on:
|
||||
pull_request:
|
||||
|
||||
# jobs:
|
||||
# lint:
|
||||
# runs-on: ubuntu-latest
|
||||
# steps:
|
||||
# - name: Install Bun
|
||||
# uses: oven-sh/setup-bun@v1
|
||||
# - name: Install Node
|
||||
# uses: actions/setup-node@v4
|
||||
# with:
|
||||
# node-version: "20"
|
||||
# - name: Clone repo
|
||||
# uses: actions/checkout@v4
|
||||
# - name: Install dependencies
|
||||
# run: bun install --frozen-lockfile
|
||||
# - name: Build
|
||||
# run: npm run build
|
||||
# - name: Pack
|
||||
# run: npm pack --dry-run
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install Bun
|
||||
uses: oven-sh/setup-bun@v1
|
||||
- name: Install Node
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: "20"
|
||||
- name: Clone repo
|
||||
uses: actions/checkout@v4
|
||||
- name: Install dependencies
|
||||
run: bun install --frozen-lockfile
|
||||
- name: Build
|
||||
run: npm run build
|
||||
- name: Pack
|
||||
run: npm pack --dry-run
|
||||
|
||||
Reference in New Issue
Block a user