fix(ratings): Rewrite tests to make them easier to maintain #178
Workflow file for this run
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 Pull Request | |
on: | |
pull_request: {} | |
jobs: | |
build: | |
permissions: write-all | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: '14.x' | |
- uses: juztcode/[email protected] | |
if: ${{ github.head_ref == 'feat/update-icons' }} | |
with: | |
title: 'feat: update icons' | |
body: '**Automated Pull Request to update icons.**' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: danielswensson/auto-assign-owner-action@v1 | |
if: ${{ github.head_ref == 'feat/update-icons' }} | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ github.head_ref == 'feat/update-icons' }} | |
with: | |
labels: | | |
enhancement 🚀 | |
icons ✨ | |
- uses: actions/[email protected] | |
if: ${{ github.head_ref == 'feat/update-icons' }} | |
with: | |
project-url: https://github.com/orgs/Decathlon/projects/3 | |
github-token: ${{ secrets.API_TOKEN_GITHUB }} | |
- uses: juztcode/[email protected] | |
if: ${{ github.head_ref == 'feat/update-assets' }} | |
with: | |
title: 'feat: update assets' | |
body: '**Automated Pull Request to update assets.**' | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: danielswensson/auto-assign-owner-action@v1 | |
if: ${{ github.head_ref == 'feat/update-assets' }} | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
- uses: actions-ecosystem/action-add-labels@v1 | |
if: ${{ github.head_ref == 'feat/update-assets' }} | |
with: | |
labels: | | |
enhancement 🚀 | |
assets 🏞 | |
- uses: actions/[email protected] | |
if: ${{ github.head_ref == 'feat/update-assets' }} | |
with: | |
project-url: https://github.com/orgs/Decathlon/projects/3 | |
github-token: ${{ secrets.API_TOKEN_GITHUB }} |