feat(card): allow to dismiss a card #257
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
# This is a Github Workflow that runs lint, formatter and unit tests on every | |
# push and pull request. | |
# If everything pass and we are on the `main` branch, it also runs Semantic | |
# Release. | |
name: Release | |
on: | |
push: | |
branches: | |
- main | |
env: | |
NODE_ENV: production | |
jobs: | |
release: | |
name: Releasing updated packages | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.MACHINE_GITHUB_TOKEN }} | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Installing dependencies | |
run: yarn install --immutable --immutable-cache | |
- name: Starting TurboRepo local cache server | |
uses: dtinth/setup-github-actions-caching-for-turbo@v1 | |
- name: Setting up Git to access Freezer | |
env: | |
FREEZER_TOKEN: ${{ secrets.FREEZER_TOKEN }} | |
run: yarn run setup:freezer | |
- name: Building all packages | |
env: | |
NODE_OPTIONS: --max_old_space_size=8192 | |
run: yarn run -T turbo run build | |
- name: Waiting for security to pass | |
uses: lewagon/[email protected] | |
with: | |
ref: ${{ github.ref }} | |
check-name: Checking Yarn cache's integrity | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
wait-interval: 10 | |
- name: Waiting for quality to pass | |
uses: lewagon/[email protected] | |
with: | |
ref: ${{ github.ref }} | |
check-name: Checking code quality | |
repo-token: ${{ secrets.GITHUB_TOKEN }} | |
wait-interval: 10 | |
- name: Publishing updated public packages to NPM, Git and GitHub | |
env: | |
GH_TOKEN: ${{ secrets.MACHINE_GITHUB_TOKEN }} | |
NPM_TOKEN: ${{ secrets.MACHINE_NPM_TOKEN }} | |
GIT_AUTHOR_NAME: '@snowball-tech-bot' | |
GIT_AUTHOR_EMAIL: [email protected] | |
GIT_COMMITTER_NAME: '@snowball-tech-bot' | |
GIT_COMMITTER_EMAIL: [email protected] | |
run: yarn publish:all |