diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index ed412c8..2438a55 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -9,14 +9,15 @@ jobs: publish: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: lfs: true - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: '14.x' + node-version-file: '.node-version' - name: Publish - uses: JS-DevTools/npm-publish@v1 + uses: JS-DevTools/npm-publish@v3 with: token: ${{ secrets.NPM_PUBLISH_TOKEN }} + provenance: true diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index dc8c87b..9d7c6b4 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -10,13 +10,13 @@ jobs: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: lfs: true - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: '14.x' + node-version-file: '.node-version' - name: Install dependencies run: yarn --frozen-lockfile --non-interactive --silent --ignore-scripts - name: Run tests @@ -27,13 +27,13 @@ jobs: runs-on: macos-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: lfs: true - name: Use Node.js - uses: actions/setup-node@v2 + uses: actions/setup-node@v3 with: - node-version: '14.x' + node-version-file: '.node-version' - name: Install dependencies run: yarn --frozen-lockfile --non-interactive --silent - name: Install example project dependencies diff --git a/.node-version b/.node-version new file mode 100644 index 0000000..6569dfa --- /dev/null +++ b/.node-version @@ -0,0 +1 @@ +20.8.1