1
0
mirror of https://github.com/mifi/lossless-cut.git synced 2024-11-22 10:22:31 +01:00
lossless-cut/.github/workflows/test.yml

30 lines
593 B
YAML
Raw Normal View History

2021-02-09 12:08:00 +01:00
name: Test
2021-02-03 18:03:51 +01:00
2021-02-09 12:08:00 +01:00
on: [push, pull_request]
2021-02-03 18:03:51 +01:00
jobs:
test:
runs-on: ${{ matrix.os }}
timeout-minutes: 60
2021-02-03 18:03:51 +01:00
strategy:
matrix:
os: [ubuntu-latest, windows-latest]
2021-02-03 18:03:51 +01:00
steps:
2024-04-01 14:58:59 +02:00
# Windows fix. See https://github.com/actions/checkout/issues/226
- run: git config --global core.autocrlf false
2024-07-29 11:26:19 +02:00
- uses: actions/checkout@v4
2021-02-03 18:03:51 +01:00
2024-07-29 11:26:19 +02:00
- uses: actions/setup-node@v4
2021-02-03 18:03:51 +01:00
with:
2024-07-29 11:26:19 +02:00
node-version: 20
2021-11-14 14:55:12 +01:00
cache: 'yarn'
2021-02-03 18:03:51 +01:00
2024-07-20 16:05:33 +02:00
- run: yarn install --immutable
- run: yarn dedupe --check
2024-01-02 16:45:43 +01:00
- run: yarn test
- run: yarn tsc
2024-02-12 07:11:44 +01:00
- run: yarn lint