Merge pull request #39 from Galileo-Bot/dependabot/npm_and_yarn/maste… #154
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: Continuous Integration | ||
on: [pull_request, push, workflow_dispatch] | ||
permissions: | ||
workflows: write-all | ||
jobs: | ||
CI: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout | ||
uses: actions/[email protected] | ||
- name: Setup Node.js | ||
uses: actions/[email protected] | ||
with: | ||
node-version: '15' | ||
- name: Install Dependencies | ||
run: yarn install --frozen-lockfile | ||
- name: lint | ||
uses: stefanoeb/[email protected] | ||
with: | ||
files: src | ||
- name: Prettify code | ||
uses: creyD/[email protected] | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
with: | ||
prettier_options: . --write |