diff --git a/.github/workflows/verify.yml b/.github/workflows/latest.yml similarity index 55% rename from .github/workflows/verify.yml rename to .github/workflows/latest.yml index 1e2bc30..0367969 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/latest.yml @@ -1,9 +1,10 @@ -name: Verify +name: Latest on: push: - tags: - - '!*' + branches: + - master + jobs: verify: name: Verify @@ -14,7 +15,14 @@ jobs: - name: Setup uses: actions/setup-node@v1 with: - node-version: 12.x + node-version: 13.2 + - name: Cache + uses: actions/cache@v1 + with: + path: node_modules + key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.OS }}-npm-cache- - name: Install run: npm ci # - name: Test diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index bc2c38b..8409a7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,7 +14,14 @@ jobs: - name: Setup uses: actions/setup-node@v1 with: - version: 12.x + version: 13.2 + - name: Cache + uses: actions/cache@v1 + with: + path: node_modules + key: ${{ runner.OS }}-npm-cache-${{ hashFiles('**/package-lock.json') }} + restore-keys: | + ${{ runner.OS }}-npm-cache- - name: Verify run: | npm ci