Skip to content

Commit

Permalink
Upgrade reusable actions to Node 20 versions
Browse files Browse the repository at this point in the history
  • Loading branch information
textbook committed Apr 28, 2024
1 parent d821fe9 commit eb1e56b
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
build:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: '18'
- run: npm ci
- run: npm run lint
- run: npm run test:examples
- run: npm pack
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
if-no-files-found: error
name: package
Expand All @@ -33,12 +33,12 @@ jobs:
eslint: [6, 7, 8]
node: [16, 18, 20]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
cache: 'npm'
node-version: ${{ matrix.node }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: package
- run: npm ci
Expand All @@ -51,8 +51,8 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
needs: install
steps:
- uses: actions/checkout@v3
- uses: actions/download-artifact@v3
- uses: actions/checkout@v4
- uses: actions/download-artifact@v4
with:
name: package
- run: |
Expand All @@ -67,14 +67,14 @@ jobs:
if: startsWith(github.ref, 'refs/tags/v')
needs: install
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: '18'
- run: npm config set '//registry.npmjs.org/:_authToken' "${NPM_AUTH_TOKEN}"
env:
NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
- uses: actions/download-artifact@v3
- uses: actions/download-artifact@v4
with:
name: package
- run: npm publish codeyourfuture-eslint-config-standard-*.tgz

0 comments on commit eb1e56b

Please sign in to comment.