1111 workflow_dispatch :
1212
1313env :
14- NODE_VERSION : 18 .x
15- CLI_VERSION : 14.2.1
16-
14+ NODE_VERSION : 20 .x
15+ CLI_VERSION : 17.0.3
16+
1717 # Use docker.io for Docker Hub if empty
1818 REGISTRY : ghcr.io
1919 # github.repository as <account>/<repo>
2222jobs :
2323 install :
2424 runs-on : ubuntu-latest
25-
25+
2626 steps :
2727 - uses : actions/checkout@v3
2828 - name : Use Node.js ${{ env.NODE_VERSION }}
@@ -34,11 +34,11 @@ jobs:
3434
3535 test :
3636 runs-on : ubuntu-latest
37-
37+
3838 strategy :
3939 matrix :
4040 Test : [Test,Lint]
41-
41+
4242 needs : install
4343
4444 steps :
@@ -56,10 +56,10 @@ jobs:
5656
5757 build :
5858 runs-on : ubuntu-latest
59-
59+
6060 needs : test
6161 if : github.event_name != 'pull_request'
62-
62+
6363 steps :
6464 - uses : actions/checkout@v3
6565 - name : Use Node.js ${{ env.NODE_VERSION }}
@@ -83,19 +83,19 @@ jobs:
8383 if : github.event_name != 'pull_request'
8484 steps :
8585 - uses : actions/checkout@v3
86-
86+
8787 # Install the cosign tool except on PR
8888 # https://github.com/sigstore/cosign-installer
8989 - name : Install cosign
9090 if : github.event_name != 'pull_request'
91919292 with :
9393 cosign-release : ' v2.1.1'
94-
94+
9595 # Workaround: https://github.com/docker/build-push-action/issues/461
9696 - name : Setup Docker buildx
9797 uses : docker/setup-buildx-action@79abd3f86f79a9d68a23c75a09a9a85889262adf
98-
98+
9999 # Login against a Docker registry except on PR
100100 # https://github.com/docker/login-action
101101 - name : Log into registry ${{ env.REGISTRY }}
@@ -113,8 +113,8 @@ jobs:
113113 uses : docker/metadata-action@98669ae865ea3cffbcbaa878cf57c20bbf1c6c38
114114 with :
115115 images : ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }}
116-
117-
116+
117+
118118 - name : Use cached build output
119119 uses : actions/cache@v2
120120 env :
0 commit comments