diff --git a/.github/workflows/temp-test-standalone-cli.yaml b/.github/workflows/temp-test-standalone-cli.yaml new file mode 100644 index 000000000000..115259435f96 --- /dev/null +++ b/.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