Skip to content

Commit b911647

Browse files
committed
Updated CI/CD
1 parent 91f3959 commit b911647

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/ci-cd.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ name: CI/CD
33
on:
44
push:
55
branches:
6-
- master
6+
- main
77
pull_request:
88

99
env:
@@ -15,13 +15,13 @@ jobs:
1515
lint:
1616
name: Lint files and dependencies
1717
runs-on: ubuntu-latest
18-
timeout-minutes: 5
18+
timeout-minutes: 3
1919
steps:
2020
- name: Check out a copy of the repo
2121
uses: actions/checkout@v2
2222

2323
- name: Use Node.js ${{ env.NODE_VERSION }}
24-
uses: actions/setup-node@v2-beta
24+
uses: actions/setup-node@v2
2525
with:
2626
node-version: ${{ env.NODE_VERSION }}
2727

@@ -56,7 +56,7 @@ jobs:
5656
uses: actions/checkout@v2
5757

5858
- name: Use Node.js ${{ env.NODE_VERSION }}
59-
uses: actions/setup-node@v2-beta
59+
uses: actions/setup-node@v2
6060
with:
6161
node-version: ${{ env.NODE_VERSION }}
6262

@@ -94,7 +94,7 @@ jobs:
9494
runs-on: ubuntu-latest
9595
timeout-minutes: 5
9696
# Only run on pushes to main branch that aren't from the cron workflow
97-
if: github.event_name == 'push' && github.ref == 'refs/heads/master'
97+
if: github.event_name == 'push' && github.ref == 'refs/heads/main'
9898
steps:
9999
- name: Check out a copy of the repo
100100
uses: actions/checkout@v2
@@ -110,7 +110,7 @@ jobs:
110110
"$(git config --local --get http.https://github.com/.extraheader)"
111111
112112
- name: Use Node.js ${{ env.NODE_VERSION }}
113-
uses: actions/setup-node@v2-beta
113+
uses: actions/setup-node@v2
114114
with:
115115
node-version: ${{ env.NODE_VERSION }}
116116

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ This is an Ember app, so the usual steps follow:
3232

3333
## Deploying
3434

35-
This site is deployed to [GitHub Pages](https://pages.github.com/) automatically from the `master` branch.
35+
This site is deployed to [GitHub Pages](https://pages.github.com/) automatically from the `main` branch.
3636

3737

3838
## How It's Made

app/components/guide-section/subsection/template.hbs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
<a
2020
class="edit-translation-link"
2121
data-test-link="Edit Translation"
22-
href="https://github.com/ember-learn/ember-octane-vs-classic-cheat-sheet/edit/master/translations/{{@sectionId}}/{{subsectionId}}/{{this.intl.locale}}.yaml"
22+
href="https://github.com/ember-learn/ember-octane-vs-classic-cheat-sheet/edit/main/translations/{{@sectionId}}/{{subsectionId}}/{{this.intl.locale}}.yaml"
2323
rel="noopener noreferrer"
2424
target="_blank"
2525
>

tests/integration/components/guide-section/subsection/component-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ module('Integration | Component | guide-section/subsection', function(hooks) {
174174
`);
175175

176176
assert.dom('[data-test-link="Edit Translation"]')
177-
.hasAttribute('href', 'https://github.com/ember-learn/ember-octane-vs-classic-cheat-sheet/edit/master/translations/generating-files/generating-component/en-us.yaml')
177+
.hasAttribute('href', 'https://github.com/ember-learn/ember-octane-vs-classic-cheat-sheet/edit/main/translations/generating-files/generating-component/en-us.yaml')
178178
});
179179

180180
test('should render (5)', async function(assert) {
@@ -199,6 +199,6 @@ module('Integration | Component | guide-section/subsection', function(hooks) {
199199
`);
200200

201201
assert.dom('[data-test-link="Edit Translation"]')
202-
.hasAttribute('href', 'https://github.com/ember-learn/ember-octane-vs-classic-cheat-sheet/edit/master/translations/generating-files/generating-component/pt-br.yaml')
202+
.hasAttribute('href', 'https://github.com/ember-learn/ember-octane-vs-classic-cheat-sheet/edit/main/translations/generating-files/generating-component/pt-br.yaml')
203203
});
204204
});

0 commit comments

Comments
 (0)