mirror of
https://github.com/lancedikson/bowser
synced 2025-12-05 06:02:14 +00:00
bump all
This commit is contained in:
parent
afc0fbf131
commit
c7c2d0f6e7
@ -4,7 +4,7 @@ concurrency: draft_or_update_next_release
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- master
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
@ -13,7 +13,7 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 30
|
||||
steps:
|
||||
- uses: actions/checkout@v1
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: release-drafter/release-drafter@v5
|
||||
env:
|
||||
|
||||
8
.github/workflows/merge-to-master.yml
vendored
8
.github/workflows/merge-to-master.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: 'Merge to master'
|
||||
name: "Merge to master"
|
||||
|
||||
on:
|
||||
push:
|
||||
@ -10,7 +10,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [12.16.3]
|
||||
node-version: [22]
|
||||
|
||||
steps:
|
||||
- name: Get branch name (merge)
|
||||
@ -23,9 +23,9 @@ jobs:
|
||||
shell: bash
|
||||
run: echo "BRANCH_NAME=$(echo ${GITHUB_HEAD_REF} | tr / -)" >> $GITHUB_ENV
|
||||
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v4
|
||||
- name: Use Node.js ${{ matrix.node-version }}
|
||||
uses: actions/setup-node@v1
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- run: npm i -g nyc
|
||||
|
||||
18
.github/workflows/pull-request.yml
vendored
18
.github/workflows/pull-request.yml
vendored
@ -1,4 +1,4 @@
|
||||
name: 'Pull Request'
|
||||
name: "Pull Request"
|
||||
on:
|
||||
pull_request:
|
||||
types: [opened, reopened, synchronize]
|
||||
@ -8,15 +8,15 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
strategy:
|
||||
matrix:
|
||||
node: [12.16.3]
|
||||
node: [16, 18, 20, 22]
|
||||
name: Node ${{ matrix.node }}
|
||||
steps:
|
||||
- name: 'Checkout latest code'
|
||||
uses: actions/checkout@v3
|
||||
- name: "Checkout latest code"
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Set up node
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
- name: Install dependencies
|
||||
@ -27,17 +27,17 @@ jobs:
|
||||
run: npm run test
|
||||
|
||||
lint:
|
||||
name: 'ESLint'
|
||||
name: "ESLint"
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout latest code
|
||||
uses: actions/checkout@v3
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
ref: ${{ github.event.pull_request.head.sha }}
|
||||
- name: Set up node
|
||||
uses: actions/setup-node@v3
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '16'
|
||||
node-version: "16"
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
- name: Run ESLint
|
||||
|
||||
Loading…
Reference in New Issue
Block a user