diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9987e90..364ba93 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -20,11 +20,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '16' + - uses: pnpm/action-setup@v2.0.1 + with: + version: 6.0.2 - name: Install dependencies - run: yarn + run: pnpm i - name: Lint - run: yarn lint + run: pnpm run lint build-docs: name: Build and test package and deploy docs @@ -36,11 +39,14 @@ jobs: - name: Setup Node uses: actions/setup-node@v2 with: - node-version: '14' + node-version: '16' + - uses: pnpm/action-setup@v2.0.1 + with: + version: 6.0.2 - name: Install dependencies - run: yarn + run: pnpm i - name: Test package - run: yarn test + run: pnpm run test - name: Copy built files to docs run: cp ./dist/shareon.min.* ./docs