mirror of
https://forgejo.merr.is/annika/actions-docker-extract.git
synced 2025-12-13 11:35:41 -05:00
feat: Run action on node20 (#25)
This commit is contained in:
parent
84052e2208
commit
e8af259fb1
8 changed files with 26 additions and 27 deletions
6
.github/workflows/directory.yml
vendored
6
.github/workflows/directory.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Load action build from cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
@ -41,7 +41,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Load action build from cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
@ -64,7 +64,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Load action build from cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
|
|||
4
.github/workflows/file.yml
vendored
4
.github/workflows/file.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Load action build from cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
@ -36,7 +36,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Load action build from cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
|
|||
2
.github/workflows/package-action.yaml
vendored
2
.github/workflows/package-action.yaml
vendored
|
|
@ -21,7 +21,7 @@ jobs:
|
|||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
- uses: pr-mpt/actions-merge-branch@v2
|
||||
- uses: prompt/actions-merge-branch@v2
|
||||
with:
|
||||
from: "origin/${{ env.source }}"
|
||||
commit: false
|
||||
|
|
|
|||
11
.github/workflows/platforms.yml
vendored
11
.github/workflows/platforms.yml
vendored
|
|
@ -14,7 +14,7 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Load action build from cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
|
|
@ -36,12 +36,15 @@ jobs:
|
|||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 16
|
||||
node-version: 20
|
||||
- name: Install Docker
|
||||
uses: douglascamata/setup-docker-macos-action@main
|
||||
- run: docker build -t example:${{ github.sha }} ./.github/tests
|
||||
- run: npm install
|
||||
- run: npm run build
|
||||
- name: Load action build from cache
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: dist
|
||||
key: build-${{ github.sha }}
|
||||
- uses: ./
|
||||
id: extract
|
||||
with:
|
||||
|
|
|
|||
4
.github/workflows/validate-tag.yaml
vendored
4
.github/workflows/validate-tag.yaml
vendored
|
|
@ -13,10 +13,10 @@ jobs:
|
|||
with:
|
||||
ssh-key: "${{ secrets.COMMIT_KEY }}"
|
||||
- name: Test that the tagged commit includes `dist`
|
||||
uses: pr-mpt/actions-assert@v2
|
||||
uses: prompt/actions-assert@v2
|
||||
with:
|
||||
assertion: npm://@assertions/directory-exists
|
||||
expected: dist
|
||||
- if: failure()
|
||||
name: Delete invalid tag
|
||||
uses: pr-mpt/actions-delete-tag@v1
|
||||
uses: prompt/actions-delete-tag@v1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue