diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index 5c9d734d..0a615c44 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,2 +1,2 @@ -ARG VARIANT=14 +ARG VARIANT=18 FROM mcr.microsoft.com/vscode/devcontainers/typescript-node:${VARIANT} \ No newline at end of file diff --git a/.devcontainer/base.Dockerfile b/.devcontainer/base.Dockerfile deleted file mode 100644 index c1b624ce..00000000 --- a/.devcontainer/base.Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -ARG VARIANT=14-buster -FROM mcr.microsoft.com/vscode/devcontainers/javascript-node:dev-${VARIANT} - -# Install tslint, typescript. eslint is installed by javascript image -ARG NODE_MODULES="tslint-to-eslint-config typescript" -RUN su node -c "umask 0002 && npm install -g ${NODE_MODULES}" \ - && npm cache clean --force > /dev/null 2>&1 \ No newline at end of file diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 3a3b6710..3ad06333 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -4,12 +4,19 @@ "build": { "dockerfile": "Dockerfile", "args": { - "VARIANT": "14" + "VARIANT": "18" } }, - "settings": { - "terminal.integrated.shell.linux": "/bin/bash" + "customizations": { + "env": { + "PATH": "/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH" + }, + "vscode": { + "settings": { + "terminal.integrated.shell.linux": "/bin/bash" + }, + "extensions": ["dbaeumer.vscode-eslint"] + } }, - "extensions": ["dbaeumer.vscode-eslint"], "remoteUser": "node" } diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index bdeceed5..6ab0e999 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,11 +14,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 'v16.13.2' + node-version: 'v20.10.0' registry-url: 'https://registry.npmjs.org' - name: Install Yarn @@ -40,11 +40,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 'v16.13.2' + node-version: 'v20.10.0' registry-url: 'https://registry.npmjs.org' - name: Install Yarn @@ -78,13 +78,13 @@ jobs: max-parallel: 1 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 'v16.13.2' + node-version: 'v20.10.0' registry-url: 'https://registry.npmjs.org' - name: Download artifact diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 9940382c..c826799f 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -19,7 +19,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Initialize CodeQL uses: github/codeql-action/init@v2 diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index daa2363e..59e98744 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 # Workflow dispatch event that pushes the current version to the release branch. # From here the secondary production deployment workflow will trigger to build the dependencies. diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml index dc34e194..c7e94dbf 100644 --- a/.github/workflows/integration.yml +++ b/.github/workflows/integration.yml @@ -25,7 +25,7 @@ jobs: apt-get update && apt-get install -y rsync - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build and Deploy uses: JamesIves/github-pages-deploy-action@v4 @@ -46,7 +46,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Build and Deploy uses: JamesIves/github-pages-deploy-action@v4 @@ -69,7 +69,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false @@ -95,7 +95,7 @@ jobs: LANG: C.UTF-8 steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false @@ -122,7 +122,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false @@ -146,7 +146,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false @@ -173,12 +173,12 @@ jobs: needs: integration-ssh-third-party-client runs-on: ubuntu-latest steps: - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 'v16.13.2' + node-version: 'v20.10.0' - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false @@ -218,7 +218,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false @@ -236,7 +236,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: persist-credentials: false @@ -272,7 +272,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create random file run: echo $RANDOM > integration/1 @@ -294,7 +294,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Create random file run: echo $RANDOM > integration/2 diff --git a/.github/workflows/production.yml b/.github/workflows/production.yml index daa59d5d..fae02f55 100644 --- a/.github/workflows/production.yml +++ b/.github/workflows/production.yml @@ -13,11 +13,11 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 'v16.13.2' + node-version: 'v20.10.0' registry-url: 'https://registry.npmjs.org' - name: Install Yarn diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 29dcb5ea..eda5f569 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -10,14 +10,14 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: dev # Setup .npmrc file to publish to npm - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 'v16.13.2' + node-version: 'v20.10.0' registry-url: 'https://registry.npmjs.org' scope: '@jamesives' @@ -41,9 +41,9 @@ jobs: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} # Setup .npmrc file to publish to GitHub Packages - - uses: actions/setup-node@v3 + - uses: actions/setup-node@v4 with: - node-version: 'v16.13.2' + node-version: 'v20.10.0' registry-url: 'https://npm.pkg.github.com' scope: '@jamesives' diff --git a/.github/workflows/sponsors.yml b/.github/workflows/sponsors.yml index 98ac62d6..2fdfba3c 100644 --- a/.github/workflows/sponsors.yml +++ b/.github/workflows/sponsors.yml @@ -9,7 +9,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout 🛎️ - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Generate Sponsors 💖 uses: JamesIves/github-sponsors-readme-action@v1 @@ -17,14 +17,14 @@ jobs: token: ${{ secrets.PAT }} file: 'README.md' template: ' ' - maximum: 9999 + maximum: 4999 - name: Generate Sponsors 💖 uses: JamesIves/github-sponsors-readme-action@v1 with: token: ${{ secrets.PAT }} file: 'README.md' - minimum: 10000 + minimum: 5000 template: ' ' marker: 'premium' diff --git a/.nvmrc b/.nvmrc index 53a42214..016efd8a 100644 --- a/.nvmrc +++ b/.nvmrc @@ -1 +1 @@ -v16.13.2 +v20.10.0 \ No newline at end of file diff --git a/README.md b/README.md index 62c5068b..f42f9d31 100644 --- a/README.md +++ b/README.md @@ -47,7 +47,7 @@ Maintenance of this project is made possible by all the - +
## Getting Started :airplane: @@ -105,9 +105,9 @@ The `with` portion of the workflow **must** be configured before the action will The following options must be configured in order to make a deployment. -| Key | Value Information | Type | Required | -| -------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -------- | -| `folder` | The folder in your repository that you want to deploy. If your build script compiles into a directory named `build` you'd put it here. If you wish to deploy the root directory you can place a `.` here. You can also utilize absolute file paths by prepending `~` to your folder path. | `with` | **Yes** | +| Key | Value Information | Type | Required | +| -------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------ | -------- | +| `folder` | The folder in your repository that you want to deploy. If your build script compiles into a directory named `build` you'd put it here. If you wish to deploy the root directory you can place a `.` here. You can also utilize absolute file paths by prepending `~` to your folder path. Note that any files/folders matching `.gitignore` entries will not be deployed. Some tools auto-generate a `.gitignore` file for build output. | `with` | **Yes** | By default, the action does not need any token configuration and uses the provided repository scoped GitHub token to make the deployment. If you require more customization you can modify the deployment type using the following options. diff --git a/action.yml b/action.yml index 5cb3af67..23348871 100644 --- a/action.yml +++ b/action.yml @@ -2,7 +2,7 @@ name: 'Deploy to GitHub Pages' description: 'This action will handle the deployment process of your project to GitHub Pages.' author: 'James Ives