diff --git a/.github/workflows/npmpublish.yml b/.github/workflows/npmpublish.yml index f19c6ed..796887b 100644 --- a/.github/workflows/npmpublish.yml +++ b/.github/workflows/npmpublish.yml @@ -8,10 +8,11 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 12 + node-version: 14 + cache: 'npm' - run: npm i - run: npm test - run: npm run build.lib @@ -22,10 +23,11 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 12 + node-version: 14 + cache: 'npm' registry-url: https://registry.npmjs.org/ - run: npm i - run: npm run build.lib @@ -37,10 +39,11 @@ jobs: needs: build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v1 - - uses: actions/setup-node@v1 + - uses: actions/checkout@v3 + - uses: actions/setup-node@v3 with: - node-version: 12 + node-version: 14 + cache: 'npm' registry-url: https://npm.pkg.github.com/ #scope: '@DenysVuika' - run: npm i