-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add temporary test for standalone CLI
- Loading branch information
1 parent
441e362
commit 3c5a257
Showing
1 changed file
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
name: Test Standalone CLI | ||
|
||
on: | ||
push: | ||
branches: [master] | ||
pull_request: | ||
branches: [master] | ||
|
||
|
||
env: | ||
CI: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build_cli: | ||
permissions: | ||
contents: write # for softprops/action-gh-release to create GitHub release | ||
runs-on: macos-11 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
|
||
- run: git fetch --tags -f | ||
|
||
- name: Use Node.js 16 | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16' | ||
registry-url: 'https://registry.npmjs.org' | ||
|
||
- name: Build tailwindcss | ||
run: npm run prepublishOnly | ||
|
||
- name: Install standalone cli dependencies | ||
run: npm install | ||
working-directory: standalone-cli | ||
|
||
- name: Build standalone cli | ||
run: npm run build | ||
working-directory: standalone-cli | ||
|
||
- name: Test | ||
run: npm test | ||
working-directory: standalone-cli |