Skip to content

Commit

Permalink
ci: start writing release job
Browse files Browse the repository at this point in the history
  • Loading branch information
danilowoz committed Aug 20, 2021
1 parent ee3a033 commit f815f2c
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Release

on:
push:
branches:
- feat/semantic-release # TODO - change the branch

jobs:
bundler:
runs-on: ubuntu-latest

steps:
- name: Clone codesandbox-client
uses: actions/checkout@v2
with:
repository: codesandbox/codesandbox-client
- name: Yarn and build bundler
run: |
cd codesandbox-client
yarn && yarn build:deps && yarn && build:sandpack
publish:
runs-on: ubuntu-latest

steps:
- name: Setup | Checkout
uses: actions/checkout@v2
with:
# pulls all commits (needed for lerna / semantic release to correctly version)
fetch-depth: "0"

- name: Install dependencies
run: yarn install --frozen-lockfile

- name: Build
run: yarn run build

0 comments on commit f815f2c

Please sign in to comment.