Skip to content

Commit 069dd51

Browse files
Update ci-workflow.yml
1 parent 652fe3e commit 069dd51

File tree

1 file changed

+14
-4
lines changed

1 file changed

+14
-4
lines changed

.github/workflows/ci-workflow.yml

Lines changed: 14 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ jobs:
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
@@ -43,7 +43,14 @@ jobs:
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:
@@ -58,7 +65,10 @@ jobs:
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

0 commit comments

Comments
 (0)