Imp build command #3
Workflow file for this run
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
name: CLI action | |
on: | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: 16 | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build | |
run: npm run build | |
- name: Run Commands | |
run: | | |
npx phat-fn init --help | |
npx phat-fn build --help | |
npx phat-fn run --help | |
npx phat-fn watch --help | |
npx phat-fn upload --help | |
npx phat-fn update --help | |