File tree Expand file tree Collapse file tree 3 files changed +48
-41
lines changed Expand file tree Collapse file tree 3 files changed +48
-41
lines changed Original file line number Diff line number Diff line change 1+ on :
2+ push :
3+ branches :
4+ - main
5+ - next
6+
7+ jobs :
8+ test :
9+ uses : ./.github/workflows/test.yml
10+
11+ publish-npm :
12+ name : ' 📦 Build and Publish 🚀'
13+ needs : [test]
14+ runs-on : ubuntu-latest
15+ environment : production
16+ steps :
17+ - uses : actions/checkout@v3
18+ - uses : actions/setup-node@v4
19+ with :
20+ node-version-file : ' .nvmrc'
21+ registry-url : https://registry.npmjs.org/
22+ cache : yarn
23+ - name : ⚙ bootstrap
24+ run : ' npm run bootstrap && git fetch --tags'
25+ - name : 📦 build and publish 🚀
26+ run : npx _release
27+ env :
28+ NODE_AUTH_TOKEN : ${{secrets.npm_token}}
Original file line number Diff line number Diff line change 1+ on :
2+ pull_request :
3+ workflow_dispatch :
4+ workflow_call :
5+
6+ jobs :
7+ test :
8+ name : ' 🧪 Test'
9+ runs-on : ubuntu-latest
10+ steps :
11+ - uses : actions/checkout@v3
12+ - uses : ianwalter/playwright-container@43940dfa7d309fe3569b9df407ae9e84dcbf2e7f
13+ - name : ⚙ bootstrap
14+ run : ' npm run bootstrap && npx _check_deps && npx _add_plugin_indexes'
15+ - name : 📐 types
16+ run : npx tsc -b -f
17+ - name : 🔍 lint
18+ run : npx _lint
19+ - name : 🧪 tests
20+ run : npm test
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments