Skip to content

Commit

Permalink
add temporary test for standalone CLI
Browse files Browse the repository at this point in the history
  • Loading branch information
RobinMalfait committed Oct 17, 2022
1 parent 441e362 commit 3c5a257
Showing 1 changed file with 45 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/workflows/temp-test-standalone-cli.yaml
@@ -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

0 comments on commit 3c5a257

Please sign in to comment.