diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 6f6d770397..4f9c322266 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -26,6 +26,7 @@ jobs: - name: Print lines of code run: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git + lint: name: Lint runs-on: ubuntu-20.04 @@ -34,8 +35,10 @@ jobs: uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 - name: Set up Node - uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 + uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3.0.0 with: + cache: 'npm' + cache-dependency-path: '**/package-lock.json' node-version: '16' - name: Run linter @@ -43,6 +46,7 @@ jobs: npm ci npm run lint + setup: name: Setup runs-on: ubuntu-20.04 @@ -62,6 +66,7 @@ jobs: echo "::set-output name=repo_url::$repo_url" echo "::set-output name=adj_build_number::$adj_build_num" + locales-test: name: Locales Test runs-on: ubuntu-20.04 @@ -96,6 +101,7 @@ jobs: echo "Test passed!" fi + build: name: Build runs-on: windows-2019 @@ -109,8 +115,10 @@ jobs: uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 - name: Set up Node - uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 + uses: actions/setup-node@9ced9a43a244f3ac94f13bfd896db8c8f30da67a # v3.0.0 with: + cache: 'npm' + cache-dependency-path: '**/package-lock.json' node-version: '16' - name: Print environment