diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 87d45f9..d3de4cc 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,7 +9,7 @@ updates: directory: "/" schedule: interval: "weekly" - target-branch: "master" + target-branch: "main" ignore: - dependency-name: "*" update-types: ["version-update:semver-major"] @@ -18,4 +18,7 @@ updates: directory: "/" schedule: interval: "weekly" - target-branch: "next" + target-branch: "legacy" + ignore: + - dependency-name: "*" + update-types: ["version-update:semver-major"] diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index f23af62..e3001e3 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -5,9 +5,9 @@ name: Test CI on: push: - branches: ["master", "next"] + branches: ["main", "legacy"] pull_request: - branches: ["master", "next"] + branches: ["main", "legacy"] jobs: test: diff --git a/Makefile b/Makefile index 83c1543..fd804f0 100644 --- a/Makefile +++ b/Makefile @@ -4,4 +4,7 @@ test: test.coverage: yarn test:cov +publish.legacy: + yarn publish --tag legacy + .PHONY: test diff --git a/README.md b/README.md index 4c108c9..17456e6 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # fastify-app [![Test CI](https://github.com/uscreen/fastify-app/actions/workflows/main.yml/badge.svg)](https://github.com/uscreen/fastify-app/actions/workflows/node.js.yml) -[![Test Coverage](https://coveralls.io/repos/github/uscreen/fastify-app/badge.svg?branch=master)](https://coveralls.io/github/uscreen/fastify-app?branch=master) +[![Test Coverage](https://coveralls.io/repos/github/uscreen/fastify-app/badge.svg?branch=legacy)](https://coveralls.io/github/uscreen/fastify-app?branch=legacy) [![Known Vulnerabilities](https://snyk.io/test/github/uscreen/fastify-app/badge.svg?targetFile=package.json)](https://snyk.io/test/github/uscreen/fastify-app?targetFile=package.json) [![NPM Version](https://badge.fury.io/js/@uscreen.de%2Ffastify-app.svg)](https://badge.fury.io/js/@uscreen.de%2Ffastify-app)