Skip to content

chore: Fix linter

chore: Fix linter #347

Workflow file for this run

name: CI
on: # rebuild any PRs and main branch changes
pull_request:
push:
branches:
- main
- 'releases/*'
jobs:
build: # make sure build/ci work properly
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- id: install-dependencies
run: yarn
- id: build
run: yarn build
- id: package
run: yarn package
- id: test
run: yarn test
- id: lint
run: yarn lint
- uses: ./
if: always()
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
jobName: Build
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
test: # make sure the action works on a clean machine without building
runs-on: ubuntu-latest
name: Integration Tests
steps:
- uses: actions/checkout@v2
if: ${{ !env.ACT }}
- uses: actions/checkout@v2
if: ${{ env.ACT }}
with:
path: actions-slack-notify
- uses: ./
if: always()
with:
status: ${{ job.status }}
steps: ${{ toJson(steps) }}
env:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}