Skip to content

Bump actions/setup-node from 3.6.0 to 3.7.0 #854

Bump actions/setup-node from 3.6.0 to 3.7.0

Bump actions/setup-node from 3.6.0 to 3.7.0 #854

Workflow file for this run

name: CI
on: [pull_request]
jobs:
ci:
runs-on: ubuntu-latest
steps:
- name: Checkout project
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8 # v3.7.0
with:
node-version: '16'
- name: Run `npm install`
run: npm install
- name: Run `npm run all`
run: npm run all
- name: Save PR number
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
run: echo ${{ github.event.number }} > PR_NUMBER
- name: Upload artifact with `PR_NUMBER`
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: PR_NUMBER
path: PR_NUMBER
- name: Upload artifact with `dist` folder
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: dist
path: dist/
- name: Upload artifact with `covertura.xml`
if: ${{ github.event.pull_request.user.login != 'dependabot[bot]' }}
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: cobertura
path: coverage/cobertura-coverage.xml