@codfish/actions-playground 0.0.0-PR-43--f19b776 → 0.0.0-PR-44--fa7de66

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.
@@ -7,15 +7,9 @@ jobs:
7
7
  runs-on: ubuntu-latest
8
8
 
9
9
  steps:
10
- - uses: actions/checkout@v1
11
-
12
- # in order to get all the proper references, allowing commitlint to work
13
- - run: git fetch --all
14
-
15
- - uses: actions/setup-node@v1
10
+ - uses: actions/checkout@v3
16
11
  with:
17
- node-version: 18.x
18
- registry-url: 'https://registry.npmjs.org'
12
+ fetch-depth: 0
19
13
 
20
14
  - name: troubleshooting
21
15
  env:
@@ -25,8 +19,22 @@ jobs:
25
19
  git branch -a
26
20
  echo "$GITHUB_CONTEXT"
27
21
 
22
+ - uses: actions/setup-node@v3
23
+ id: setup-node
24
+ with:
25
+ cache: 'npm'
26
+ node-version: 18.x
27
+ registry-url: 'https://registry.npmjs.org'
28
+
29
+ - uses: actions/cache@v3
30
+ id: npm-cache
31
+ with:
32
+ path: node_modules
33
+ key: ${{ runner.os }}-node_modules-${{ steps.setup-node.outputs.node-version }}-${{ hashFiles('**/package-lock.json') }}
34
+
28
35
  - name: install dependencies
29
- run: npm ci --no-save
36
+ if: steps.npm-cache.outputs.cache-hit != 'true'
37
+ run: npm ci --prefer-offline --no-audit
30
38
 
31
39
  - run:
32
40
  npm run lint:commit -- --from="origin/${{ github.base_ref }}"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codfish/actions-playground",
3
- "version": "0.0.0-PR-43--f19b776",
3
+ "version": "0.0.0-PR-44--fa7de66",
4
4
  "description": "My own testing ground for messing around with GitHub Actions.",
5
5
  "private": false,
6
6
  "publishConfig": {