Skip to content

Commit

Permalink
Modernize sass and add Github action to auto-publish (#24)
Browse files Browse the repository at this point in the history
* upgrade sass syntax

* add github action to publish package to npm on release
  • Loading branch information
myty authored Jul 28, 2022
1 parent 90f8792 commit 159d7be
Show file tree
Hide file tree
Showing 16 changed files with 481 additions and 4,115 deletions.
3 changes: 3 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Handle line endings automatically for files detected as text
# and leave all files detected as binary untouched.
* text=auto
20 changes: 20 additions & 0 deletions .github/workflows/publsih.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Publish NPM Package
on:
workflow_dispatch:
release:
types: [published]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'

- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
!dist
dist
node_modules
Loading

0 comments on commit 159d7be

Please sign in to comment.