Commit 7a3b7e4 1 parent 3965414 commit 7a3b7e4 Copy full SHA for 7a3b7e4
File tree 1 file changed +10
-7
lines changed
1 file changed +10
-7
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,7 @@ concurrency:
14
14
cancel-in-progress : true
15
15
16
16
env :
17
+ PROJECT_NAME : ' esbuild-scripts'
17
18
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
18
19
NODE_ENV : ' production'
19
20
BUILD_DIR : ' dist'
@@ -46,27 +47,29 @@ jobs:
46
47
working-directory : ${{ github.workspace }}
47
48
run : yarn
48
49
49
- - name : Build
50
- shell : bash
51
- working-directory : ${{ github.workspace }}
52
- run : yarn build
53
-
54
50
- name : Test
55
51
shell : bash
56
52
env :
57
53
NODE_ENV : test
58
54
working-directory : ${{ github.workspace }}
59
55
run : yarn test
60
56
57
+ - name : Build
58
+ shell : bash
59
+ env :
60
+ NODE_ENV : production
61
+ working-directory : ${{ github.workspace }}
62
+ run : yarn build
63
+
61
64
- name : Upload Artifact
62
65
uses : actions/upload-artifact@v4
63
66
with :
64
- name : esbuild-scripts -${{ matrix.os }}-node-v${{ matrix.node-version }}
67
+ name : ${{ env.PROJECT_NAME }} -${{ matrix.os }}-node-v${{ matrix.node-version }}
65
68
path : ' ${{ github.workspace }}/${{ env.BUILD_DIR }}'
66
69
67
70
- name : Download Artifact
68
71
uses : actions/download-artifact@v4
69
72
with :
70
- name : esbuild-scripts -${{ matrix.os }}-node-v${{ matrix.node-version }}
73
+ name : ${{ env.PROJECT_NAME }} -${{ matrix.os }}-node-v${{ matrix.node-version }}
71
74
path : ' ${{ github.workspace }}/${{ env.BUILD_DIR }}'
72
75
github-token : ${{ env.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments