chore: 2024 update #804
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: | |
push: | |
branches: | |
- next | |
- feature/* | |
- dependabot/* | |
pull_request: | |
types: [opened, edited, reopened, synchronize] | |
jobs: | |
ci: | |
name: Continuous Integration | |
runs-on: ubuntu-latest | |
steps: | |
- id: yarn-cache | |
name: Get Yarn cache path | |
run: echo "::set-output name=dir::$(yarn cache dir)" | |
- uses: actions/checkout@5a4ac9002d0be2fb38bd78e4b4dbde5606d7042f | |
- uses: actions/setup-node@56899e050abffc08c2b3b61f3ec6a79a9dc3223d | |
with: | |
node-version: 14.x | |
- uses: actions/cache@0781355a23dac32fd3bac414512f4b903437991a | |
name: Load Yarn cache | |
with: | |
path: ${{ steps.yarn-cache.outputs.dir }} | |
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-yarn- | |
- run: yarn install --ignore-scripts | |
name: Install dependencies | |
- run: yarn ci | |
name: Run integration tests | |
- uses: coverallsapp/github-action@8cbef1dea373ebce56de0a14c68d6267baa10b44 | |
name: Report code coverage | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: 47ng/actions-slack-notify@main | |
name: Notify on Slack | |
if: always() | |
with: | |
status: ${{ job.status }} | |
env: | |
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }} |