File tree Expand file tree Collapse file tree 3 files changed +48
-2
lines changed Expand file tree Collapse file tree 3 files changed +48
-2
lines changed Original file line number Diff line number Diff line change
1
+ name : Release
2
+
3
+ permissions :
4
+ contents : write
5
+
6
+ on :
7
+ push :
8
+ tags :
9
+ - ' v*'
10
+
11
+ jobs :
12
+ release :
13
+ permissions :
14
+ id-token : write
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v3
18
+ with :
19
+ fetch-depth : 0
20
+
21
+ - name : Install pnpm
22
+ uses : pnpm/action-setup@v2
23
+
24
+ - name : Set node
25
+ uses : actions/setup-node@v3
26
+ with :
27
+ node-version : 18
28
+ cache : pnpm
29
+ registry-url : ' https://registry.npmjs.org'
30
+
31
+ - run : npx changelogithub
32
+ continue-on-error : true
33
+ env :
34
+ GITHUB_TOKEN : ${{secrets.GITHUB_TOKEN}}
35
+
36
+ - name : Install Dependencies
37
+ run : pnpm i
38
+
39
+ - name : PNPM build
40
+ run : pnpm run build:pkg
41
+
42
+ - name : Publish to NPM
43
+ run : pnpm -r publish --access public --no-git-checks
44
+ env :
45
+ NODE_AUTH_TOKEN : ${{secrets.NPM_TOKEN}}
46
+ NPM_CONFIG_PROVENANCE : true
Original file line number Diff line number Diff line change 1
1
import { cssHandler } from '../src/css'
2
- import ClassGenerator from '../src/classGenerator '
2
+ import { ClassGenerator } from '../src/shared '
3
3
import { getTestCase } from './utils'
4
4
describe ( 'css' , ( ) => {
5
5
let classGenerator : ClassGenerator
Original file line number Diff line number Diff line change 1
1
import { jsHandler } from '../src/js'
2
2
import { getCss , getTestCase } from './utils'
3
- import ClassGenerator from '../src/classGenerator '
3
+ import { ClassGenerator } from '../src/shared '
4
4
// import { getClassCacheSet } from 'tailwindcss-patch'
5
5
6
6
describe ( 'js handler' , ( ) => {
You can’t perform that action at this time.
0 commit comments