Merge pull request #201 from StefRuseva88/npm_and_yarn/testing-librar… #338
This file contains hidden or 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: Workflow Testing | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: [ "main" ] | |
| pull_request: | |
| branches: [ "main" ] | |
| issues: | |
| types: [opened, edited] | |
| jobs: | |
| greet: | |
| env: | |
| MY_ENV: "Jane Doe" | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Greet the User | |
| run: echo "Hello, Stef!" | |
| - name: Show directory before checkout | |
| run: ls -l | |
| - name: Checkout our code | |
| uses: actions/checkout@v6 | |
| - name: Show directory after checkout | |
| run: ls -l | |
| - name: Show environment variables | |
| run: | | |
| echo "Hello $MY_ENV" | |
| echo "Hello $GITHUB_ACTOR" |