Merge pull request #3 from ApptiveDev/develop/publish #7
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: ci | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- 'develop/**' | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout source code | |
uses: 'actions/checkout@v4' | |
- name: init yarn | |
uses: 'actions/setup-node@v4' | |
with: | |
node-version: '20' | |
- name: yarn berry setup | |
run: corepack enable && yarn set version berry | |
- name: install dependencies | |
run: yarn | |
- name: run test | |
run: yarn ci |