diff --git a/.github/workflows/autoprefixer.yml b/.github/workflows/autoprefixer.yml index c5c65ab..c363718 100644 --- a/.github/workflows/autoprefixer.yml +++ b/.github/workflows/autoprefixer.yml @@ -8,7 +8,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout to latest commit - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 - name: Setup Node uses: actions/setup-node@v3 @@ -21,7 +21,7 @@ jobs: npm run autoprefixer - name: Create Pull Request - uses: peter-evans/create-pull-request@v3.13.0 + uses: peter-evans/create-pull-request@v3.14.0 with: branch: autoprefixer branch-suffix: timestamp diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..47ff298 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,28 @@ +name: Run Build + +# Run action on pull request event +on: [pull_request] + + +jobs: + build: + runs-on: ubuntu-18.04 + steps: + # checkout to the commit that has been pushed + - uses: actions/checkout@v2.4.0 + with: + submodules: true # Fetch Hugo themes (true OR recursive) + fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod + + # install Hugo + - name: Setup Hugo + uses: peaceiris/actions-hugo@v2.5.0 + with: + hugo-version: 'latest' + extended: true + + # build website + - name: Create Config + run: touch config.toml + - name: Build + run: hugo --minify diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index 89971fe..e74a695 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -39,7 +39,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v2.4.0 + uses: actions/checkout@v3 # Initializes the CodeQL tools for scanning. - name: Initialize CodeQL diff --git a/.github/workflows/draft-release.yml b/.github/workflows/draft-release.yml index 8226b75..de05a40 100644 --- a/.github/workflows/draft-release.yml +++ b/.github/workflows/draft-release.yml @@ -10,6 +10,6 @@ jobs: runs-on: ubuntu-latest steps: # Create/Update release draft - - uses: release-drafter/release-drafter@v5.18.1 + - uses: release-drafter/release-drafter@v5.19.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/md-link-checker.yml b/.github/workflows/md-link-checker.yml index e8104c0..e5e922a 100644 --- a/.github/workflows/md-link-checker.yml +++ b/.github/workflows/md-link-checker.yml @@ -8,6 +8,6 @@ jobs: runs-on: ubuntu-latest steps: # checkout to latest commit - - uses: actions/checkout@v2.4.0 + - uses: actions/checkout@v3 # run markdown linter - uses: gaurav-nelson/github-action-markdown-link-check@1.0.13 diff --git a/package-lock.json b/package-lock.json index 9b9bf0c..cccad96 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,7 +9,7 @@ "license": "MIT", "devDependencies": { "autoprefixer": "^10.4.2", - "postcss": "^8.4.7", + "postcss": "^8.4.8", "postcss-cli": "^8.3.1" } }, @@ -675,9 +675,9 @@ } }, "node_modules/postcss": { - "version": "8.4.7", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.7.tgz", - "integrity": "sha512-L9Ye3r6hkkCeOETQX6iOaWZgjp3LL6Lpqm6EtgbKrgqGGteRMNb9vzBfRL96YOSu8o7x3MfIH9Mo5cPJFGrW6A==", + "version": "8.4.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.8.tgz", + "integrity": "sha512-2tXEqGxrjvAO6U+CJzDL2Fk2kPHTv1jQsYkSoMeOis2SsYaXRO2COxTdQp99cYvif9JTXaAk9lYGc3VhJt7JPQ==", "dev": true, "dependencies": { "nanoid": "^3.3.1", @@ -1495,9 +1495,9 @@ "dev": true }, "postcss": { - "version": "8.4.7", - "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.7.tgz", - "integrity": "sha512-L9Ye3r6hkkCeOETQX6iOaWZgjp3LL6Lpqm6EtgbKrgqGGteRMNb9vzBfRL96YOSu8o7x3MfIH9Mo5cPJFGrW6A==", + "version": "8.4.8", + "resolved": "https://registry.npmjs.org/postcss/-/postcss-8.4.8.tgz", + "integrity": "sha512-2tXEqGxrjvAO6U+CJzDL2Fk2kPHTv1jQsYkSoMeOis2SsYaXRO2COxTdQp99cYvif9JTXaAk9lYGc3VhJt7JPQ==", "dev": true, "requires": { "nanoid": "^3.3.1", diff --git a/package.json b/package.json index 5388292..68c0a9b 100644 --- a/package.json +++ b/package.json @@ -18,7 +18,7 @@ "homepage": "https://github.com/hossainemruz/toha#readme", "devDependencies": { "autoprefixer": "^10.4.2", - "postcss": "^8.4.7", + "postcss": "^8.4.8", "postcss-cli": "^8.3.1" } }