-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: changes and updates * fix: sublime-cli version workflows * chore: update sublime-cli to fix manifest bug * feat: bootGlobals function and build options changes * feat: test changeset snapshot build * chore: updating changeset messages for snapshot * fix: changeset yarn prefix * fix: changeset versions * feat: reconfigure actions * feat: changeset config updates * chore: changeset Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
f0ee7da
commit aa0ce9a
Showing
14 changed files
with
155 additions
and
95 deletions.
There are no files selected for viewing
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
'@websublime/ws-essential': minor | ||
'@websublime/ws-globals': minor | ||
--- | ||
|
||
Globals | ||
|
||
Globals are two essential store links Environment and Registry. Environment to provide config/options and registry for particular components data. |
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 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
name: Build and Create Snapshots | ||
|
||
on: | ||
push: | ||
branches: | ||
- 'releases/snapshots' | ||
|
||
env: | ||
CI: true | ||
NODE_ENV: "develop" | ||
|
||
jobs: | ||
feat-artifacts: | ||
runs-on: ubuntu-latest | ||
steps: | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v2 | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
|
||
- name: Setup node | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16.x' | ||
|
||
- name: Install dependencies | ||
run: yarn | ||
|
||
- name: Build | ||
run: yarn build | ||
|
||
- name: Artifacts | ||
run: | | ||
wget https://github.com/websublime/sublime-cli/releases/download/v0.1.8/sublime-v0.1.8-linux-amd64.tar.gz | ||
tar -xf sublime-v0.1.8-linux-amd64.tar.gz sublime | ||
chmod +x sublime | ||
./sublime action --type branch --env "$NODE_ENV" | ||
rm -rf sublime-v0.1.8-linux-amd64.tar.gz | ||
rm -rf sublime | ||
- name: Setup CI Git User | ||
run: | | ||
git config --global user.name "miguelramos" | ||
git config --global user.email "[email protected]" | ||
cat << EOF > "$HOME/.npmrc" | ||
//npm.pkg.github.com/:_authToken=$GITHUB_TOKEN | ||
@websublime:registry=https://npm.pkg.github.com | ||
EOF | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
|
||
- name: Create Snapshot | ||
uses: changesets/action@v1 | ||
with: | ||
version: yarn changeset version --snapshot SNAPSHOT | ||
publish: yarn changeset publish --no-git-tag --snapshot | ||
title: "chore(snapshot): Packages snapshots" | ||
commit: "chore(snapshot): releasing snapshot preview" | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }} | ||
NPM_TOKEN: ${{ secrets.GH_TOKEN }} |
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 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 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 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 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 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 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 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
Oops, something went wrong.