Skip to content

Instantly share code, notes, and snippets.

@Tolluset
Created March 3, 2022 21:51
Embed
What would you like to do?
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