Skip to content

Commit 02ab2cd

Browse files
authored
repo sync
2 parents c82ef7e + 08f2fa2 commit 02ab2cd

3 files changed

Lines changed: 25 additions & 30 deletions

File tree

.github/workflows/browser-test.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,22 +20,18 @@ jobs:
2020
paths: '[".github/workflows/browser-test.yml","assets/**", "content/**", "data/**", "includes/**", "javascripts/**", "jest-puppeteer.config.js", "jest.config.js", "layouts/**", "lib/**", "middleware/**", "package-lock.json", "package.json", "server.js", "translations/**", "webpack.config.js"]'
2121
build:
2222
needs: see_if_should_skip
23+
if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
2324
runs-on: ubuntu-latest
2425
steps:
25-
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
26-
# Even if if doesn't do anything
27-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
28-
name: Checkout
26+
- name: Checkout
2927
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
3028

31-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
32-
name: Install
29+
- name: Install
3330
uses: ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb
3431
with:
3532
args: npm ci
3633

37-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
38-
name: Test
34+
- name: Test
3935
uses: ianwalter/puppeteer@12728ddef82390d1ecd4732fb543f62177392fbb
4036
with:
4137
args: npm run browser-test

.github/workflows/test.yml

Lines changed: 8 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -31,50 +31,42 @@ jobs:
3131

3232
test:
3333
needs: see_if_should_skip
34+
if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
3435
runs-on: ubuntu-latest
3536
timeout-minutes: 60
3637
strategy:
3738
fail-fast: false
3839
matrix:
3940
test-group: [content, meta, rendering, routing, unit, links-and-images]
4041
steps:
41-
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
42-
# Even if if doesn't do anything
43-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
44-
name: Check out repo
42+
- name: Check out repo
4543
uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f
4644

47-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
48-
name: Setup node
45+
- name: Setup node
4946
uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d
5047
with:
5148
node-version: 14.x
5249

53-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
54-
name: Get npm cache directory
50+
- name: Get npm cache directory
5551
id: npm-cache
5652
run: |
5753
echo "::set-output name=dir::$(npm config get cache)"
5854
59-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
60-
name: Cache node modules
55+
- name: Cache node modules
6156
uses: actions/cache@d1255ad9362389eac595a9ae406b8e8cb3331f16
6257
with:
6358
path: ${{ steps.npm-cache.outputs.dir }}
6459
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
6560
restore-keys: |
6661
${{ runner.os }}-node-
6762
68-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
69-
name: Install dependencies
63+
- name: Install dependencies
7064
run: npm ci
7165

72-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
73-
name: Run build script
66+
- name: Run build script
7467
run: npm run build
7568

76-
- if: ${{ needs.see_if_should_skip.outputs.should_skip != 'true' }}
77-
name: Run tests
69+
- name: Run tests
7870
run: npx jest tests/${{ matrix.test-group }}/
7971
env:
8072
NODE_OPTIONS: "--max_old_space_size=4096"

data/glossaries/external.yml

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@
6060
- term: branch
6161
description: >-
6262
A branch is a parallel version of a repository. It is contained within the
63-
repository, but does not affect the primary or master branch allowing you to
63+
repository, but does not affect the primary or main branch allowing you to
6464
work freely without disrupting the "live" version. When you've made the
65-
changes you want to make, you can merge your branch back into the master
65+
changes you want to make, you can merge your branch back into the main
6666
branch to publish your changes.
6767
- term: branch restriction
6868
description: >-
@@ -141,8 +141,9 @@
141141
Short, descriptive text that accompanys a commit and communicates the change
142142
the commit is introducing.
143143
- term: compare branch
144-
description: The branch you use to create a pull request.
145-
This branch is compared to the base branch you choose for the pull request, and the changes are identified.
144+
description: >-
145+
The branch you use to create a pull request.
146+
This branch is compared to the base branch you choose for the pull request, and the changes are identified.
146147
When the pull request is merged, the base branch is updated with the changes from the compare branch.
147148
Also known as the "head branch" of the pull request.
148149
- term: continuous integration
@@ -395,12 +396,18 @@
395396
Markdown and uses a particular form of Markdown called GitHub Flavored Markdown. See [GitHub Flavored Markdown Spec](https://github.github.com/gfm/) or [Getting started with writing and formatting on GitHub](/articles/getting-started-with-writing-and-formatting-on-github).
396397
- term: Markup
397398
description: A system for annotating and formatting a document.
398-
- term: master
399+
- term: main
399400
description: >-
400401
The default development branch. Whenever you create a Git repository, a
401-
branch named "master" is created, and becomes the active branch. In most
402+
branch named "main" is created, and becomes the active branch. In most
402403
cases, this contains the local development, though that is purely by
403404
convention and is not required.
405+
- term: master
406+
description: >-
407+
The default branch in many Git repositories. By default, when you create
408+
a new Git repository on the command line a branch called `master` is created.
409+
Many tools now use an alternative name for the default branch. For example,
410+
when you create a new repository on GitHub the default branch is called `main`.
404411
- term: Members graph
405412
description: A repository graph that shows all the forks of a repository.
406413
- term: mention

0 commit comments

Comments
 (0)