diff options
Diffstat (limited to '.github')
-rw-r--r-- | .github/workflows/builds.yml | 15 | ||||
-rw-r--r-- | .github/workflows/check-pr.yml | 4 |
2 files changed, 9 insertions, 10 deletions
diff --git a/.github/workflows/builds.yml b/.github/workflows/builds.yml index e87fc8f..fb9b6cd 100644 --- a/.github/workflows/builds.yml +++ b/.github/workflows/builds.yml | |||
@@ -14,28 +14,27 @@ on: | |||
14 | workflow_dispatch: | 14 | workflow_dispatch: |
15 | inputs: | 15 | inputs: |
16 | message: | 16 | message: |
17 | description: "Message for build" | 17 | description: 'Message for build' |
18 | required: true | 18 | required: true |
19 | 19 | ||
20 | jobs: | 20 | jobs: |
21 | build: | 21 | build: |
22 | name: Ferdium Recipes Build | 22 | name: Ferdium Recipes Build |
23 | runs-on: ubuntu-20.04 | 23 | runs-on: ubuntu-22.04 |
24 | steps: | 24 | steps: |
25 | - name: Print latest commit | 25 | - name: Print latest commit |
26 | run: echo ${{ github.sha }} | 26 | run: echo ${{ github.sha }} |
27 | - name: Set env vars | ||
28 | run: echo "PNPM_CACHE=$HOME/.pnpm-store" >> $GITHUB_ENV | ||
29 | - name: Checkout code | 27 | - name: Checkout code |
30 | uses: actions/checkout@v3 | 28 | uses: actions/checkout@v3 |
29 | - name: Install pnpm | ||
30 | uses: pnpm/action-setup@v2 | ||
31 | - name: Use Node.js specified in the '.nvmrc' file | 31 | - name: Use Node.js specified in the '.nvmrc' file |
32 | uses: actions/setup-node@v3 | 32 | uses: actions/setup-node@v3 |
33 | with: | 33 | with: |
34 | node-version-file: ".nvmrc" | 34 | node-version-file: '.nvmrc' |
35 | - name: Install pnpm | 35 | cache: 'pnpm' |
36 | run: npm i -gf "pnpm@$(node -p 'require("./package.json").engines.pnpm')" && pnpm -v | ||
37 | - name: Install node dependencies recursively | 36 | - name: Install node dependencies recursively |
38 | uses: nick-fields/retry@v2.8.2 | 37 | uses: nick-fields/retry@v2.8.3 |
39 | with: | 38 | with: |
40 | command: pnpm i | 39 | command: pnpm i |
41 | timeout_minutes: 15 | 40 | timeout_minutes: 15 |
diff --git a/.github/workflows/check-pr.yml b/.github/workflows/check-pr.yml index 5fff282..a9a4d97 100644 --- a/.github/workflows/check-pr.yml +++ b/.github/workflows/check-pr.yml | |||
@@ -8,13 +8,13 @@ on: | |||
8 | jobs: | 8 | jobs: |
9 | check: | 9 | check: |
10 | name: Check Recipe Version Bump | 10 | name: Check Recipe Version Bump |
11 | runs-on: ubuntu-20.04 | 11 | runs-on: ubuntu-22.04 |
12 | steps: | 12 | steps: |
13 | - name: Checkout code | 13 | - name: Checkout code |
14 | uses: actions/checkout@v3 | 14 | uses: actions/checkout@v3 |
15 | - name: Fetch main branch | 15 | - name: Fetch main branch |
16 | run: git fetch origin main --depth 1 | 16 | run: git fetch origin main --depth 1 |
17 | - uses: tj-actions/changed-files@v36 | 17 | - uses: tj-actions/changed-files@v37 |
18 | id: changed-files | 18 | id: changed-files |
19 | - name: Checking recipe version bump | 19 | - name: Checking recipe version bump |
20 | uses: ./.github/workflows/check-recipe-version-bump | 20 | uses: ./.github/workflows/check-recipe-version-bump |