diff --git a/.github/workflows/bump-version.yml b/.github/workflows/bump-version.yml index ef0221169..008259587 100644 --- a/.github/workflows/bump-version.yml +++ b/.github/workflows/bump-version.yml @@ -39,13 +39,13 @@ jobs: - name: Install pandoc dependency run: sudo apt-get install -y pandoc - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Use Node.js 16.13.1 - uses: actions/setup-node@v2 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16.13.1 + node-version: 20 cache: "npm" - name: Install NPM dependencies for version updater working-directory: ./tools/bump-version diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27e703df6..b534bcbb3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -15,11 +15,11 @@ jobs: name: Build runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Use Node.js 16.13.1 - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16.13.1 + node-version: 20 cache: "npm" - name: Install npm dependencies run: npm ci @@ -29,11 +29,11 @@ jobs: name: Lint runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Use Node.js 16.13.1 - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16.13.1 + node-version: 20 cache: "npm" - name: Install npm dependencies run: npm ci @@ -43,11 +43,11 @@ jobs: name: Prettier runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Use Node.js 16.13.1 - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16.13.1 + node-version: 20 cache: "npm" - name: Install npm dependencies run: npm ci @@ -57,11 +57,11 @@ jobs: name: Test runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - name: Use Node.js 16.13.1 - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - name: Use Node.js 20 + uses: actions/setup-node@v4 with: - node-version: 16.13.1 + node-version: 20 cache: "npm" - name: Install npm dependencies run: npm ci diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 5fe371625..ff2308f6a 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -19,15 +19,15 @@ jobs: url: ${{ steps.deployment.outputs.page_url }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 + - uses: actions/checkout@v4 + - uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - run: npm ci - run: npm run build - - uses: actions/upload-pages-artifact@v1 + - uses: actions/upload-pages-artifact@v3 with: path: ".app" - name: Deploy to gh pages id: deployment - uses: actions/deploy-pages@v1 + uses: actions/deploy-pages@v4 diff --git a/.github/workflows/fetch-changes.yml b/.github/workflows/fetch-changes.yml index 1a66635f2..9b289fff1 100644 --- a/.github/workflows/fetch-changes.yml +++ b/.github/workflows/fetch-changes.yml @@ -12,11 +12,11 @@ jobs: fetchChangelog: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - name: Use Node v16.13.1 - uses: actions/setup-node@v2 + - uses: actions/checkout@v4 + - name: Use Node 20 + uses: actions/setup-node@v4 with: - node-version: 16.13.1 + node-version: 20 cache: "npm" - name: Install NPM dependencies working-directory: ./tools/fetch-changelog @@ -38,7 +38,7 @@ jobs: echo echo "You may want to go to https://gist.github.com/ to upload the final changelog" echo "The next step will require an url because we can't easily pass multiline strings to actions" - - uses: actions/upload-artifact@v2 + - uses: actions/upload-artifact@v4 with: name: bitburner_changelog___DRAFT.md path: ./tools/fetch-changelog/changes.md diff --git a/.github/workflows/steamDev.yml b/.github/workflows/steamDev.yml index 8a84a0a39..87c065d14 100644 --- a/.github/workflows/steamDev.yml +++ b/.github/workflows/steamDev.yml @@ -12,14 +12,14 @@ jobs: uses: CyberAndrii/setup-steamcmd@v1 - name: Checkout dev branch - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: ref: dev - name: Setup node - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: - node-version: 16 + node-version: 20 - name: Build and deploy run: | diff --git a/.github/workflows/title-and-dist-checks.yml b/.github/workflows/title-and-dist-checks.yml index c0544ff95..7e814dcbd 100644 --- a/.github/workflows/title-and-dist-checks.yml +++ b/.github/workflows/title-and-dist-checks.yml @@ -15,13 +15,13 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout files - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Check bundle files id: changed-bundle-files - uses: tj-actions/changed-files@v18.4 + uses: tj-actions/changed-files@v44 with: files: | - dist/* + dist/** - name: Warn when dist was changed or title is invalid id: warn-bundles-changed