Bump eslint-plugin-n from 16.6.2 to 17.14.0 #2013
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Continuous Integration | |
on: | |
pull_request: | |
branches: | |
- master | |
workflow_dispatch: | |
jobs: | |
test: | |
name: Test | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
persist-credentials: false | |
- name: Select Node.js version | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
- name: Install dependencies | |
run: npm ci --no-audit --no-progress --prefer-offline | |
- name: Run checks | |
run: npm run workflow:test | |
- name: Package action | |
run: npm run package | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: action.yml | |
path: ./action.yml | |
- name: Upload artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: dist | |
path: ./dist | |
run: | |
name: Run | |
runs-on: ubuntu-latest | |
needs: test | |
timeout-minutes: 1 | |
steps: | |
- name: Download artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: action.yml | |
- name: Download artifact | |
uses: actions/download-artifact@v4 | |
with: | |
name: dist | |
path: ./dist | |
- name: Run action | |
uses: ./ | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} |