Loading .github/workflows/check-dist.yml +5 −8 Changes for .github/workflows/check-dist.yml: 5 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -22,16 +22,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set Node.js 12.x uses: actions/setup-node@v1 - uses: actions/checkout@v3 - name: Setup Node.js 16.x uses: actions/setup-node@v3 with: node-version: 12.x node-version: 16.x - name: Install dependencies run: npm ci - name: Rebuild the dist/ directory run: npm run build Loading @@ -45,7 +42,7 @@ jobs: id: diff # If index.js was different than expected, upload the expected version as an artifact - uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3 if: ${{ failure() && steps.diff.conclusion == 'failure' }} with: name: dist Loading .github/workflows/codeql.yml +1 −1 Changes for .github/workflows/codeql.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 uses: actions/checkout@v3 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. Loading .github/workflows/licensed.yml +1 −1 Changes for .github/workflows/licensed.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest name: Check licenses steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - run: npm ci - name: Install licensed run: | Loading .github/workflows/workflow.yml +8 −8 Changes for .github/workflows/workflow.yml: 8 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -24,11 +24,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Node.js uses: actions/setup-node@v1 uses: actions/checkout@v3 - name: Setup Node.js 16.x uses: actions/setup-node@v3 with: node-version: '12.x' node-version: 16.x - name: Determine npm cache directory id: npm-cache run: | Loading Loading @@ -57,7 +57,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 uses: actions/checkout@v3 - name: Generate files in working directory shell: bash run: __tests__/create-cache-files.sh ${{ runner.os }} test-cache Loading @@ -80,7 +80,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 uses: actions/checkout@v3 - name: Restore cache uses: ./ with: Loading Loading @@ -110,7 +110,7 @@ jobs: https_proxy: http://squid-proxy:3128 steps: - name: Checkout uses: actions/checkout@v2 uses: actions/checkout@v3 - name: Generate files run: __tests__/create-cache-files.sh proxy test-cache - name: Save cache Loading @@ -133,7 +133,7 @@ jobs: https_proxy: http://squid-proxy:3128 steps: - name: Checkout uses: actions/checkout@v2 uses: actions/checkout@v3 - name: Restore cache uses: ./ with: Loading README.md +2 −2 Changes for README.md: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - name: Cache Primes id: cache-primes Loading Loading @@ -162,7 +162,7 @@ Using the `cache-hit` output, subsequent steps (such as install or build) can be Example: ```yaml steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: actions/cache@v3 id: cache Loading Loading
.github/workflows/check-dist.yml +5 −8 Changes for .github/workflows/check-dist.yml: 5 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -22,16 +22,13 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Set Node.js 12.x uses: actions/setup-node@v1 - uses: actions/checkout@v3 - name: Setup Node.js 16.x uses: actions/setup-node@v3 with: node-version: 12.x node-version: 16.x - name: Install dependencies run: npm ci - name: Rebuild the dist/ directory run: npm run build Loading @@ -45,7 +42,7 @@ jobs: id: diff # If index.js was different than expected, upload the expected version as an artifact - uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v3 if: ${{ failure() && steps.diff.conclusion == 'failure' }} with: name: dist Loading
.github/workflows/codeql.yml +1 −1 Changes for .github/workflows/codeql.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -14,7 +14,7 @@ jobs: steps: - name: Checkout repository uses: actions/checkout@v2 uses: actions/checkout@v3 with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. Loading
.github/workflows/licensed.yml +1 −1 Changes for .github/workflows/licensed.yml: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -13,7 +13,7 @@ jobs: runs-on: ubuntu-latest name: Check licenses steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - run: npm ci - name: Install licensed run: | Loading
.github/workflows/workflow.yml +8 −8 Changes for .github/workflows/workflow.yml: 8 added lines, 8 removed lines. Original line number Diff line number Diff line Loading @@ -24,11 +24,11 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 - name: Setup Node.js uses: actions/setup-node@v1 uses: actions/checkout@v3 - name: Setup Node.js 16.x uses: actions/setup-node@v3 with: node-version: '12.x' node-version: 16.x - name: Determine npm cache directory id: npm-cache run: | Loading Loading @@ -57,7 +57,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 uses: actions/checkout@v3 - name: Generate files in working directory shell: bash run: __tests__/create-cache-files.sh ${{ runner.os }} test-cache Loading @@ -80,7 +80,7 @@ jobs: runs-on: ${{ matrix.os }} steps: - name: Checkout uses: actions/checkout@v2 uses: actions/checkout@v3 - name: Restore cache uses: ./ with: Loading Loading @@ -110,7 +110,7 @@ jobs: https_proxy: http://squid-proxy:3128 steps: - name: Checkout uses: actions/checkout@v2 uses: actions/checkout@v3 - name: Generate files run: __tests__/create-cache-files.sh proxy test-cache - name: Save cache Loading @@ -133,7 +133,7 @@ jobs: https_proxy: http://squid-proxy:3128 steps: - name: Checkout uses: actions/checkout@v2 uses: actions/checkout@v3 - name: Restore cache uses: ./ with: Loading
README.md +2 −2 Changes for README.md: 2 added lines, 2 removed lines. Original line number Diff line number Diff line Loading @@ -71,7 +71,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - name: Cache Primes id: cache-primes Loading Loading @@ -162,7 +162,7 @@ Using the `cache-hit` output, subsequent steps (such as install or build) can be Example: ```yaml steps: - uses: actions/checkout@v2 - uses: actions/checkout@v3 - uses: actions/cache@v3 id: cache Loading