Ryan Chandler 4 жил өмнө
parent
commit
58caceeb44

+ 15 - 1
.github/workflows/cypress-tests.yml

@@ -15,10 +15,24 @@ jobs:
       - name: Checkout repository
       - name: Checkout repository
         uses: actions/checkout@v1
         uses: actions/checkout@v1
 
 
+      - name: Cache NPM packagees
+        uses: actions/cache@v1
+        id: NPM
+        with:
+          path: node_modules
+          key: npm-cache-${{ hashFiles('yarn.lock') }}
+
+      - name: Cache Cypress
+        uses: actions/cache@v1
+        id: cypress
+        with:
+          path: ~/.cache/Cypress
+          key: cypress-cache-${{ hashFiles('yarn.lock') }}
+
       - name: Run Cypress
       - name: Run Cypress
         uses: cypress-io/github-action@v2
         uses: cypress-io/github-action@v2
         with:
         with:
-          build: yarn build
+          install: false
           start: yarn pre-cypress
           start: yarn pre-cypress
           browser: chrome
           browser: chrome