Skip to content

config vite to use scss's modern-compiler #25

config vite to use scss's modern-compiler

config vite to use scss's modern-compiler #25

Workflow file for this run

name: Publishing on NPM
on:
workflow_dispatch:
push:
branches:
- main
paths:
- package.json
permissions:
contents: read
id-token: write
jobs:
publish-npm:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20
registry-url: 'https://registry.npmjs.org'
- name: Build package
run: |
npm install
npm run build
- name: Publishing on NPM
uses: JS-DevTools/npm-publish@v3
with:
token: ${{secrets.NPM_TOKEN}}
access: public
provenance: true