Skip to content

Merge pull request #106 from almond-bongbong/bugfix/error-react19 #42

Merge pull request #106 from almond-bongbong/bugfix/error-react19

Merge pull request #106 from almond-bongbong/bugfix/error-react19 #42

Workflow file for this run

name: ✅ Test
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Install dependencies
run: yarn install
- name: Build package
run: yarn build
- name: Test package
run: yarn test
- name: Dispatch test done event
run: |
curl -L \
-X POST \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
https://api.github.com/repos/almond-bongbong/react-simple-toasts/dispatches \
-d '{"event_type":"test-done"}'