chore(deps): update devdeps #91
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: Build, Test and Publish | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- 'master' | |
- 'alpha' | |
jobs: | |
build-test-publish: | |
runs-on: ubuntu-22.04 | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.GH_TOKEN }} | |
- name: "Setup node with cache" | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
cache: 'yarn' | |
- run: yarn install --frozen-lockfile | |
- run: yarn run build | |
- name: "Setup git coordinates" | |
run: | | |
git config user.name ${{ secrets.GH_USER }} | |
git config user.email ${{ secrets.GH_EMAIL }} | |
- name: "Run semantic-release" | |
env: | |
GH_TOKEN: ${{secrets.GH_TOKEN}} | |
NPM_TOKEN: ${{secrets.NPM_TOKEN}} | |
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/alpha' | |
run: yarn run release |