Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: 💡 lss to css in js representation #34

Merged
merged 8 commits into from
Sep 14, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/lemon-melons-serve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@lottiefiles/relottie-style": minor
---

refactor: 💡 lss css in js representation
26 changes: 8 additions & 18 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,14 +29,9 @@ jobs:
with:
cache: 'pnpm'
node-version: 18
scope: '@lottiefiles'
registry-url: 'https://npm.pkg.github.com/'
always-auth: true

- name: 📥 Download deps
run: pnpm install
env:
NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }}

- name: 🏗 Build
run: pnpm build
Expand Down Expand Up @@ -71,13 +66,9 @@ jobs:
with:
cache: 'pnpm'
node-version: 18
scope: '@lottiefiles'
registry-url: 'https://npm.pkg.github.com/'

- name: 📥 Download deps
run: pnpm install
env:
NODE_AUTH_TOKEN: ${{ secrets.GPR_TOKEN }}

- name: 🏗 Build
run: pnpm build
Expand All @@ -90,24 +81,23 @@ jobs:
publish: pnpm release:publish
version: pnpm release:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
GITHUB_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Delete npmrc (Github Packages)
- name: Delete .npmrc (Github Packages)
run: |
rm -rf ~/.npmrc
rm -rf .npmrc

- name: ⎔ Setup .npmrc (NPM)
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMJS_TOKEN }}" >> ~/.npmrc

- name: ⎔ Setup Node@18 for NPM
uses: actions/setup-node@v3
with:
cache: 'pnpm'
node-version: 18
scope: '@lottiefiles'
registry-url: https://registry.npmjs.org/

- name: Setup npmrc (NPM)
run: echo "//registry.npmjs.org/:_authToken=${{ secrets.NPMJS_TOKEN }}" >> ~/.npmrc

- name: 🚀 Release to NPM
uses: changesets/action@v1
Expand All @@ -117,9 +107,9 @@ jobs:
publish: pnpm release:publish
version: pnpm release:version
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPMJS_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GPR_TOKEN }}
NPM_TOKEN: ${{ secrets.NPMJS_TOKEN }}

# - name: 🌐 Publish docs
# if: success()
Expand Down
Loading
Loading