ci.yml
GH action: update to v4 and remove uploading artifacts
#2
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: ci | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
jobs: | |
ci: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
include: | |
- os: ubuntu-latest | |
target-folder: drop-linux | |
- os: windows-latest | |
target-folder: drop | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
- name: npm ci | |
run: npm ci | |
- name: lint | |
run: npm run lint | |
- name: prettier | |
run: npm run prettier | |
- name: test | |
run: npm test |