hof 21.1.1 → 21.1.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -8,15 +8,15 @@ on:
8
8
  - completed
9
9
  jobs:
10
10
  auto-publish:
11
- runs-on: ubuntu-latest
11
+ runs-on: ubuntu-22.04
12
12
  if: startsWith(github.ref, 'refs/heads/master')
13
13
  steps:
14
- - uses: actions/checkout@v2.2.0
14
+ - uses: actions/checkout@v4
15
15
  with:
16
16
  fetch-depth: 0
17
- - uses: actions/setup-node@v1
17
+ - uses: actions/setup-node@v4
18
18
  with:
19
- node-version: 14
19
+ node-version: 20
20
20
  registry-url: https://registry.npmjs.org/
21
21
  - name: 'Get Previous tag'
22
22
  id: previoustag
@@ -4,14 +4,14 @@ name: Automate_Tag
4
4
  on: [push]
5
5
  jobs:
6
6
  test:
7
- runs-on: ubuntu-latest
7
+ runs-on: ubuntu-22.04
8
8
  strategy:
9
9
  matrix:
10
- node-version: [14.x]
10
+ node-version: [20.x]
11
11
  redis-version: [4, 5, 6]
12
12
  steps:
13
- - uses: actions/checkout@v2.2.0
14
- - uses: actions/setup-node@v1
13
+ - uses: actions/checkout@v4
14
+ - uses: actions/setup-node@v4
15
15
  with:
16
16
  node-version: ${{ matrix.node-version }}
17
17
  - name: Start Redis
@@ -25,16 +25,16 @@ jobs:
25
25
 
26
26
  auto-tag-patch:
27
27
  needs: test
28
- runs-on: ubuntu-latest
28
+ runs-on: ubuntu-22.04
29
29
  if: |
30
30
  startsWith(github.ref, 'refs/heads/master') &&
31
31
  !contains(github.event.head_commit.message, '[MAJOR]') &&
32
32
  !contains(github.event.head_commit.message, '[MINOR]')
33
33
  steps:
34
- - uses: actions/checkout@v2.2.0
35
- - uses: actions/setup-node@v1
34
+ - uses: actions/checkout@v4
35
+ - uses: actions/setup-node@v4
36
36
  with:
37
- node-version: 14
37
+ node-version: 20
38
38
  registry-url: https://registry.npmjs.org/
39
39
  - run: |
40
40
  git config --local user.email "$(git log --format='%ae' HEAD^!)"
@@ -43,16 +43,16 @@ jobs:
43
43
 
44
44
  auto-tag-minor:
45
45
  needs: test
46
- runs-on: ubuntu-latest
46
+ runs-on: ubuntu-22.04
47
47
  if: |
48
48
  startsWith(github.ref, 'refs/heads/master') &&
49
49
  !contains(github.event.head_commit.message, '[MAJOR]') &&
50
50
  contains(github.event.head_commit.message, '[MINOR]')
51
51
  steps:
52
- - uses: actions/checkout@v2.2.0
53
- - uses: actions/setup-node@v1
52
+ - uses: actions/checkout@v4
53
+ - uses: actions/setup-node@v4
54
54
  with:
55
- node-version: 14
55
+ node-version: 20
56
56
  registry-url: https://registry.npmjs.org/
57
57
  - run: |
58
58
  git config --local user.email "$(git log --format='%ae' HEAD^!)"
@@ -61,16 +61,16 @@ jobs:
61
61
 
62
62
  auto-tag-major:
63
63
  needs: test
64
- runs-on: ubuntu-latest
64
+ runs-on: ubuntu-22.04
65
65
  if: |
66
66
  startsWith(github.ref, 'refs/heads/master') &&
67
67
  contains(github.event.head_commit.message, '[MAJOR]') &&
68
68
  !contains(github.event.head_commit.message, '[MINOR]')
69
69
  steps:
70
- - uses: actions/checkout@v2.2.0
71
- - uses: actions/setup-node@v1
70
+ - uses: actions/checkout@v4
71
+ - uses: actions/setup-node@v4
72
72
  with:
73
- node-version: 14
73
+ node-version: 20
74
74
  registry-url: https://registry.npmjs.org/
75
75
  - run: |
76
76
  git config --local user.email "$(git log --format='%ae' HEAD^!)"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "hof",
3
3
  "description": "A bootstrap for HOF projects",
4
- "version": "21.1.1",
4
+ "version": "21.1.3",
5
5
  "license": "MIT",
6
6
  "main": "index.js",
7
7
  "author": "HomeOffice",
@@ -12,5 +12,5 @@
12
12
  - [ ] I have created a JIRA number for my commit
13
13
  - [ ] I have followed the chris beams method for my commit https://cbea.ms/git-commit/
14
14
  here is an [example commit](https://github.com/UKHomeOfficeForms/hof/commit/810959f391187c7c4af6db262bcd143b50093a6e)
15
- - [ ] Ensure drone builds are green especially tests
15
+ - [ ] Ensure workflow jobs are passing especially tests
16
16
  - [ ] I will squash the commits before merging