diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 525ab44..285c864 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -1,7 +1,8 @@ name: build on: - - dev + push: + branches: dev jobs: lint: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml deleted file mode 100644 index 6e82cdd..0000000 --- a/.github/workflows/test.yml +++ /dev/null @@ -1,60 +0,0 @@ -name: test - -on: - - push - - pull_request - -jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install - run: npm install - - name: Run lint - run: npm run lint - - typecheck: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install - run: npm install - - name: Run typecheck - run: npm run typecheck - - tests: - runs-on: ${{ matrix.os }} - strategy: - matrix: - os: [ubuntu-latest, windows-latest] - node-version: - - 20.10.0 - - 21.x - steps: - - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Install - run: npm install - - name: Run tests - run: npm test - windows: - runs-on: windows-latest - strategy: - matrix: - node-version: - - 20.10.0 - - 21.x - steps: - - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node-version }} - - name: Install - run: npm install - - name: Run tests - run: npm test