control
package export
#614
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
jobs: | |
test: | |
env: | |
TURBO_TEAM: ${{ vars.TURBO_TEAM }} | |
TURBO_TELEMETRY_DISABLED: ${{ vars.TURBO_TELEMETRY_DISABLED }} | |
TURBO_TOKEN: ${{ secrets.TURBO_TOKEN }} | |
name: Test | |
runs-on: ${{ matrix.os }} | |
steps: | |
- name: Repository checkout | |
uses: actions/checkout@v4.2.2 | |
- name: Node.js setup ${{ matrix.node-version }} | |
uses: actions/setup-node@v4.1.0 | |
with: | |
cache: npm | |
cache-dependency-path: package-lock.json | |
node-version: ${{ matrix.node-version }} | |
- name: Dependencies installation | |
run: npm ci | |
- name: Test | |
run: npm test | |
strategy: | |
matrix: | |
node-version: [18.20.4, 20.18.0] | |
os: [macos-latest, ubuntu-latest, windows-latest] | |
name: Continuous integration (CI) | |
on: | |
pull_request: | |
branches: [main] | |
push: | |
branches: [main, feature/**] |