From: Tim Düsterhus Date: Wed, 18 Aug 2021 14:58:49 +0000 (+0200) Subject: Checkout the repository before setting up node X-Git-Tag: 5.5.0_Alpha_1~480 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=15d8995d4ba7c5286a5668fbf950278808168019;p=GitHub%2FWoltLab%2FWCF.git Checkout the repository before setting up node see 464224a153f2d140551726128e0a5ad10d022ed0 --- diff --git a/.github/workflows/typescript.yml b/.github/workflows/typescript.yml index 2b352b57f8..eca73057ff 100644 --- a/.github/workflows/typescript.yml +++ b/.github/workflows/typescript.yml @@ -14,12 +14,12 @@ jobs: strategy: fail-fast: false steps: + - uses: actions/checkout@v2 - name: Set up node.js uses: actions/setup-node@v2 with: node-version: "14" cache: "npm" - - uses: actions/checkout@v2 - run: npm install - run: npx tsc --noEmit - name: Check that tslib is in sync. @@ -30,12 +30,12 @@ jobs: strategy: fail-fast: false steps: + - uses: actions/checkout@v2 - name: Set up node.js uses: actions/setup-node@v2 with: node-version: "14" cache: "npm" - - uses: actions/checkout@v2 - run: npm install - run: npx eslint . javascript_sync: @@ -45,12 +45,12 @@ jobs: strategy: fail-fast: false steps: + - uses: actions/checkout@v2 - name: Set up node.js uses: actions/setup-node@v2 with: node-version: "14" cache: "npm" - - uses: actions/checkout@v2 - run: npm install - run: npx tsc - run: echo "::add-matcher::.github/diff.json"