Skip to content

Commit

Permalink
Merge pull request #1682 from authts/chore-1
Browse files Browse the repository at this point in the history
chore: use node 18.x, prepare publish to previous tag and avoid deploying pages
  • Loading branch information
pamapa authored Sep 30, 2024
2 parents 4327fae + dad61e0 commit be2eb70
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: npm

- name: Cache incremental builds
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: npm

- name: Cache incremental builds
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,19 @@ jobs:
# Setup .npmrc file to publish to npm
- uses: actions/setup-node@v3
with:
node-version: 16.x
node-version: 18.x
cache: npm
registry-url: https://registry.npmjs.org

- run: npm ci
- run: npm publish
- run: npm publish --tag previous
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

- run: npm run typedoc

- name: Deploy pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/pages
# - name: Deploy pages
# uses: peaceiris/actions-gh-pages@v3
# with:
# github_token: ${{ secrets.GITHUB_TOKEN }}
# publish_dir: ./docs/pages

0 comments on commit be2eb70

Please sign in to comment.