Skip to content

Instantly share code, notes, and snippets.

@gjuoun
Last active November 12, 2021 02:09
Show Gist options
  • Save gjuoun/ce68eb4efa33e4fe7adf810e221b6bfc to your computer and use it in GitHub Desktop.
Save gjuoun/ce68eb4efa33e4fe7adf810e221b6bfc to your computer and use it in GitHub Desktop.
github-actions
name: GitHub Actions Demo
on: [push]
jobs:
Push-to-build:
runs-on: ubuntu-latest
steps:
- name: Check out repository code
uses: actions/checkout@v2
- run: git config --global user.email "action@github.com"
- run: git config --global user.name "GitHub Action"
- uses: actions/setup-node@v2
with:
node-version: '16'
cache: 'yarn'
- name: Yarn install
run: yarn install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment