Skip to content

Commit

Permalink
build: rename master -> main, bump CI/CD versions
Browse files Browse the repository at this point in the history
  • Loading branch information
ddubrava committed May 30, 2024
1 parent 112256c commit 1936c6a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 13 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@ name: GitHub Pages
on:
push:
branches:
- master
- main

env:
PRIMARY_NODE_VERSION: 18
PRIMARY_NODE_VERSION: 20

jobs:
deploy:
name: Github pages deploy
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.PRIMARY_NODE_VERSION }}
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: ${{ env.PRIMARY_NODE_VERSION }}

- name: Cache node modules
uses: actions/cache@v3
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -41,19 +41,19 @@ jobs:
npm run build:docs
- name: Archive www Artifact
uses: actions/upload-artifact@master
uses: actions/upload-artifact@v4
with:
name: documentation
path: dist/docsify

- name: Download Artifact
uses: actions/download-artifact@master
uses: actions/download-artifact@v4
with:
name: documentation
path: dist/docsify

- name: Deploy to github pages
uses: JamesIves/github-pages-deploy-action@3.6.2
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist/docsify
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: CI
on:
push:
branches:
- master
- main
pull_request:
branches:
- '**'
Expand Down
2 changes: 1 addition & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ warrant "necroing" a dead thread - raising a new issue means you can fill in the
help you. Often times if you comment on a closed issue, we will just ask you to open a new issue, so please save
everyone's time, and **_help us to help you_**.

Please refrain from commenting on `master` commits. Commit comments are not searchable, meaning that nobody else can
Please refrain from commenting on `main` commits. Commit comments are not searchable, meaning that nobody else can
discover your comments. Raise an issue and reference the commit instead so that everyone can see your comment, and you
can fill out the template.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</a>

<a href="https://codecov.io/gh/ddubrava/angular8-yandex-maps">
<img src="https://codecov.io/gh/ddubrava/angular8-yandex-maps/branch/master/graph/badge.svg?token=ZU50NBBBH6" alt="Codecov">
<img src="https://codecov.io/gh/ddubrava/angular8-yandex-maps/branch/main/graph/badge.svg?token=ZU50NBBBH6" alt="Codecov">
</a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion libs/angular8-yandex-maps/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
</a>

<a href="https://codecov.io/gh/ddubrava/angular8-yandex-maps">
<img src="https://codecov.io/gh/ddubrava/angular8-yandex-maps/branch/master/graph/badge.svg?token=ZU50NBBBH6" alt="Codecov">
<img src="https://codecov.io/gh/ddubrava/angular8-yandex-maps/graph/badge.svg?token=ZU50NBBBH6" alt="Codecov">
</a>
</p>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/**
* Copied from angular/components/google-maps and updated for Yandex.Maps API.
* {@link https://github.com/angular/components/blob/master/src/google-maps/map-event-manager.ts}
* {@link https://github.com/angular/components/blob/main/src/google-maps/map-event-manager.ts}
*/

import { NgZone } from '@angular/core';
Expand Down

0 comments on commit 1936c6a

Please sign in to comment.