mirror of
https://code.forgejo.org/forgejo/download-artifact.git
synced 2025-05-16 20:27:48 +02:00
Update to latest actions/artifact NPM package (#195)
* Use latest actions/artifact NPM package + misc updates * Use node 18 + caching in CI * Run npm release * Use node 16 for CI + devcontainer
This commit is contained in:
parent
d2278a10ef
commit
9bc31d5ccc
9 changed files with 402 additions and 740 deletions
11
.github/workflows/check-dist.yml
vendored
11
.github/workflows/check-dist.yml
vendored
|
@ -22,12 +22,13 @@ jobs:
|
|||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
|
||||
- name: Set Node.js 12.x
|
||||
uses: actions/setup-node@v1
|
||||
- name: Setup Node 16
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 12.x
|
||||
node-version: 16.x
|
||||
cache: 'npm'
|
||||
|
||||
- name: Install dependencies
|
||||
run: npm ci
|
||||
|
@ -45,7 +46,7 @@ jobs:
|
|||
id: diff
|
||||
|
||||
# If index.js was different than expected, upload the expected version as an artifact
|
||||
- uses: actions/upload-artifact@v2
|
||||
- uses: actions/upload-artifact@v3
|
||||
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
||||
with:
|
||||
name: dist
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue