File tree Expand file tree Collapse file tree 1 file changed +14
-4
lines changed
Expand file tree Collapse file tree 1 file changed +14
-4
lines changed Original file line number Diff line number Diff line change 2323 fail-fast : true
2424 matrix :
2525 # our matrix for testing across node versions and OSs
26- node-version : [12, 14]
27- os : [windows-2019, ubuntu-20.04 , ubuntu-22.04 ]
26+ node-version : [12, 14, 16 ]
27+ os : [macos-latest, windows-latest , ubuntu-latest ]
2828
2929 steps :
3030 - name : Checkout
4343 echo npm test
4444
4545 # Add here the upload-artifact action
46-
46+ - shell : bash
47+ run : |
48+ echo 'Test upload artifact' > output.log
49+ - name : Upload output file
50+ uses : actions/upload-artifact@v4
51+ with :
52+ name : output-log-file
53+ path : output.log
4754
4855 # If both linting and CI succeeds we want to deploy the code to a test environment
4956 deploy-test :
5865 uses : actions/checkout@v4
5966
6067 # Add here the download-artifact step
61-
68+ - name : Download a single artifact
69+ uses : actions/download-artifact@v4
70+ with :
71+ name : output-log-file
6272
6373 # Placeholder - this step would be some action or run commands that deploys the code
6474 - name : Deploy to test env
You can’t perform that action at this time.
0 commit comments