Skip to content

refactor(mobile): update Budget class to a factory function #18

refactor(mobile): update Budget class to a factory function

refactor(mobile): update Budget class to a factory function #18

name: Release packages
on:
push:
branches:
- main
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: 📥 Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: ⚙️ Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: ⚙️ Setup Node cache
id: node-cache
uses: actions/cache@v3
with:
path: '**/node_modules'
key: yarn-${{ hashFiles('yarn.lock') }}-${{ hashFiles('package.json') }}
restore-keys: yarn-
- name: ⚙️ Setup Turbo cache
uses: actions/cache@v3
with:
path: '.turbo'
key: turbo-${{ github.ref_name }}-${{ github.sha }}
restore-keys: |
turbo-${{ github.ref_name }}-
turbo-main-
- name: ⚙️ git config
run: |
git config user.name "${GITHUB_ACTOR}"
git config user.email "${GITHUB_ACTOR}@users.noreply.github.com"
- name: 📦 Install dependencies
run: yarn
- name: 🚀 Release packages
run: yarn release
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}