fix: use correct path for types in core package.json (#74) #154
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: Release packages | |
on: | |
push: | |
branches: | |
- main | |
- beta | |
- alpha | |
defaults: | |
run: | |
shell: sh | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Wait on tests | |
uses: lewagon/[email protected] | |
with: | |
ref: ${{ github.ref }} | |
check-name: "Run tests" | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
wait-interval: 10 | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: "16" | |
cache: "yarn" | |
- name: Install packages | |
run: yarn install | |
- name: Build | |
run: yarn build | |
- name: Publish | |
run: yarn release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} |