Feature/add pipeline #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Lab 3 Create Artifact | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "18" | |
- name: Pretend to build | |
run: echo Pretending to build some kind of app... | |
- name: Push artifact foo.txt | |
uses: actions/upload-artifact@v3 | |
with: | |
name: my-artifact | |
path: foo.txt |