diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0c95d23..238c12a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -16,17 +16,10 @@ jobs: run: echo ::set-output name=VERSION::$(echo $GITHUB_REF | cut -d / -f 3) # install node 14 - name: setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: '16' + node-version: '18.x' registry-url: 'https://registry.npmjs.org' - # release - - uses: actions/cache@v2 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }} - restore-keys: | - ${{ runner.os }}-node- - name: install run: npm install - name: build & publish