Capacitor build script fixes #4820
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: Test | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- '**' | |
env: | |
CI: true | |
jobs: | |
run: | |
name: Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Clone repository | |
uses: actions/checkout@v4 | |
- name: Enable Corepack | |
run: corepack enable | |
- name: Set Node.js version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install npm dependencies | |
run: yarn | |
- name: Test | |
run: yarn test |