Merge pull request #1995 from alxshelepenok/major/removing-the-oldest… #2223
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: Release | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Install Bun | |
uses: oven-sh/setup-bun@v1 | |
with: | |
bun-version: latest | |
- name: Cache Bun dependencies | |
id: bun-cache | |
uses: actions/cache@v4 | |
with: | |
path: | | |
~/.bun | |
node_modules | |
key: bun-${{ runner.os }}-${{ hashFiles('bun.lockb') }} | |
restore-keys: | | |
bun-${{ runner.os }}- | |
- name: Install modules | |
if: steps.bun-cache.outputs.cache-hit != 'true' | |
run: bun install --frozen-lockfile | |
- name: Release | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
run: bun run release |