Created
March 3, 2022 21:51
-
-
Save tolluset/6c35ded522cb1a92781124bc50ce186d to your computer and use it in GitHub Desktop.
when use actions for using yarn
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: node_actions_example | |
on: push | |
jobs: | |
job_using_node: | |
name: Using actions node | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
cache: 'yarn' | |
- run: yarn | |
- run: yarn lint | |
- run: yarn build |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment