git.iko.soy/typeable/elm-ui
on master help sign in
Merge branch 'master' of https://github.com/mdgriffith/elm-ui
commitee78b037275a3dc4d9ab0cf7e375ae6537398957 authorMatthew Griffith <mdg.griffith@gmail.com> dateSat 14 Mar 2020, 12:27 (7 years ago) parentb5519ef29bc161
1 file changed+14−11
.github/workflows/tests.yml+14−11
.github/workflows/tests.yml+14−11
@@ -1,29 +1,35 @@
11name: Test Suite
22
3−# Controls when the action will run. Triggers the workflow on push or pull request
4−# events but only for the master branch
53on:
64 push:
75 branches: [ master ]
86 pull_request:
97 branches: [ master ]
108
11−# A workflow run is made up of one or more jobs that can run sequentially or in parallel
9+
1210jobs:
13− # This workflow contains a single job called "build"
1411 testing:
15− # The type of runner that the job will run on
1612 runs-on: ubuntu-latest
1713
18− # Steps represent a sequence of tasks that will be executed as part of the job
19− steps:
20− # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
14+ steps:
2115 - uses: actions/checkout@v2
2216
2317 - name: Setup node
2418 uses: actions/setup-node@v1
2519 with:
2620 node-version: 10
21+
22+ - name: Cache node modules
23+ uses: actions/cache@v1
24+ env:
25+ cache-name: cache-node-modules
26+ with:
27+ path: node_modules
28+ key: ${{ runner.os }}-testing-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
29+ restore-keys: |
30+ ${{ runner.os }}-testing-${{ env.cache-name }}-
31+ ${{ runner.os }}-testing-
32+ ${{ runner.os }}-
2733
2834 - name: Install
2935 run: npm install
@@ -31,9 +37,6 @@ jobs:
3137 - name: Elm test suite
3238 run: npm run test
3339
34− - name: Rendering test suite
35− run: npm run test-render
36−
3740 - uses: webfactory/ssh-agent@v0.2.0
3841 with:
3942 ssh-private-key: ${{ secrets.ELM_UI_TESTING_SSH_PRIVATE_KEY }}