Merge pull request #88 from ggdaltoso/chore/update-dps #67
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: Deploy Recipes | |
on: | |
push: | |
branches: [master] | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v1 | |
- name: Configure CI Git User | |
run: | | |
git remote set-url origin https://${GH_TOKEN}@github.com/${GITHUB_REPOSITORY}.git | |
git checkout master | |
git config --global user.email [email protected] | |
git config --global user.name ggdaltoso | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 18 | |
registry-url: https://registry.npmjs.org/ | |
- name: Install dependencies | |
run: yarn | |
- name: Creating an optimized production build | |
run: yarn build | |
env: | |
CI: true | |
- name: Publish | |
run: yarn semantic-release | |
env: | |
GH_TOKEN: ${{ secrets.GH_TOKEN }} | |
GIT_AUTHOR_NAME: ggdaltoso | |
GIT_COMMITTER_NAME: ggdaltoso | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_EMAIL: [email protected] |