chore: rename branch master => main
This commit is contained in:
parent
6b0aa23172
commit
66088642ee
10 changed files with 18 additions and 12 deletions
6
.github/workflows/bench.yaml
vendored
6
.github/workflows/bench.yaml
vendored
|
@ -6,7 +6,7 @@ env:
|
|||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
@ -67,7 +67,7 @@ jobs:
|
|||
|
||||
- name: Store benchmark result
|
||||
uses: rhysd/github-action-benchmark@v1
|
||||
if: github.ref == 'refs/heads/master'
|
||||
if: github.ref == 'refs/heads/main'
|
||||
with:
|
||||
tool: 'benchmarkjs'
|
||||
output-file-path: bench.txt
|
||||
|
@ -76,7 +76,7 @@ jobs:
|
|||
|
||||
- name: Store benchmark result
|
||||
uses: rhysd/github-action-benchmark@v1
|
||||
if: github.ref != 'refs/heads/master'
|
||||
if: github.ref != 'refs/heads/main'
|
||||
with:
|
||||
tool: 'benchmarkjs'
|
||||
output-file-path: bench.txt
|
||||
|
|
3
.github/workflows/lint.yaml
vendored
3
.github/workflows/lint.yaml
vendored
|
@ -2,7 +2,8 @@ name: Lint
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master, develop]
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
3
.github/workflows/linux-aarch64.yaml
vendored
3
.github/workflows/linux-aarch64.yaml
vendored
|
@ -6,7 +6,8 @@ env:
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master, develop]
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
3
.github/workflows/linux-musl.yaml
vendored
3
.github/workflows/linux-musl.yaml
vendored
|
@ -5,7 +5,8 @@ env:
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master, develop]
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
3
.github/workflows/napi3.yaml
vendored
3
.github/workflows/napi3.yaml
vendored
|
@ -5,7 +5,8 @@ env:
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master, develop]
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
3
.github/workflows/test.yaml
vendored
3
.github/workflows/test.yaml
vendored
|
@ -5,7 +5,8 @@ env:
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master, develop]
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
3
.github/workflows/windows-i686.yml
vendored
3
.github/workflows/windows-i686.yml
vendored
|
@ -5,7 +5,8 @@ env:
|
|||
|
||||
on:
|
||||
push:
|
||||
branches: [master, develop]
|
||||
branches:
|
||||
- main
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
|
|
|
@ -18,7 +18,7 @@ A minimal library for building compiled `NodeJS` add-ons in `Rust`.
|
|||
![macOS/Windows/Linux x64](https://github.com/napi-rs/napi-rs/workflows/macOS/Windows/Linux%20x64/badge.svg)
|
||||
![Linux-aarch64](https://github.com/napi-rs/napi-rs/workflows/Linux-aarch64/badge.svg)
|
||||
![Windows i686](https://github.com/napi-rs/napi-rs/workflows/Windows%20i686/badge.svg)
|
||||
[![FreeBSD](https://api.cirrus-ci.com/github/napi-rs/napi-rs.svg)](https://cirrus-ci.com/github/napi-rs/napi-rs?branch=master)
|
||||
[![FreeBSD](https://api.cirrus-ci.com/github/napi-rs/napi-rs.svg)](https://cirrus-ci.com/github/napi-rs/napi-rs?branch=main)
|
||||
|
||||
## Operating Systems
|
||||
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"description": "Cli tools for napi-rs",
|
||||
"keywords": ["cli", "rust", "napi", "n-api", "neon"],
|
||||
"author": "LongYinan <lynweklm@gmail.com>",
|
||||
"homepage": "https://github.com/napi-rs/napi-rs/tree/master/cli#readme",
|
||||
"homepage": "https://github.com/napi-rs/napi-rs",
|
||||
"license": "MIT",
|
||||
"bin": {
|
||||
"napi": "./scripts/index.js"
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
"description": "Rust target triples objects",
|
||||
"keywords": ["Rust", "cross-compile", "napi", "n-api", "node-rs", "napi-rs"],
|
||||
"author": "LongYinan <lynweklm@gmail.com>",
|
||||
"homepage": "https://github.com/napi-rs/napi-rs/tree/master/triples#readme",
|
||||
"homepage": "https://github.com/napi-rs/napi-rs/tree/main/triples#readme",
|
||||
"license": "MIT",
|
||||
"main": "./index.js",
|
||||
"types": "./index.d.ts",
|
||||
|
|
Loading…
Reference in a new issue