Skip to content

Instantly share code, notes, and snippets.

@Tolluset
Created March 3, 2022 21:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Tolluset/6c35ded522cb1a92781124bc50ce186d to your computer and use it in GitHub Desktop.
Save Tolluset/6c35ded522cb1a92781124bc50ce186d to your computer and use it in GitHub Desktop.
when use actions for using yarn
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