Skip to content

Commit

Permalink
add github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
willemarcel committed May 3, 2024
1 parent 3681991 commit eb1340b
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Lint and Test

on: [push]

jobs:
lint:
runs-on: ubuntu-latest

env:
NODE_ENV: test

steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

- name: Checkout
uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18

- name: Change directory
run: cd ./task

- name: Install
run: yarn install

- name: Lint
run: yarn lint

- name: Test
run: yarn test

0 comments on commit eb1340b

Please sign in to comment.