fix: upgrade react-redux from 8.0.5 to 8.1.1 (#8) #31
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 | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js 18.x | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 18.x | |
- name: Install Dependencies | |
run: yarn --silent | |
- name: Generate OpenAPI | |
run: | | |
yarn gen-api | |
- name: Build and Test | |
run: | | |
yarn build | |
- name: Archive Artifacts | |
uses: actions/upload-artifact@v2 | |
with: | |
name: build | |
path: build | |
release: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Code | |
uses: actions/checkout@v3 | |
- name: Download Build Artifacts | |
uses: actions/download-artifact@v3 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
name: build | |
path: build | |
# Zip the build using external action | |
- name: Zip build | |
uses: thedoctor0/zip-release@master | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
type: 'zip' | |
filename: 'build.zip' | |
path: build | |
# Upload as an artifact of the current workflow | |
- name: Upload build zip artifact | |
uses: actions/upload-artifact@v2 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
name: build.zip | |
path: build.zip | |
# Make official GitHub release which will trigger | |
# sending the mail with link for access | |
- name: Release | |
uses: ncipollo/release-action@v1 | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
artifacts: build.zip | |
token: ${{ secrets.GITHUB_TOKEN }} | |
draft: false | |
prerelease: false | |
allowUpdates: true | |
bodyFile: CHANGELOG.md | |
tag: v1.1.0 |