mirror of
https://github.com/actions/download-artifact.git
synced 2024-11-14 01:22:43 +00:00
Use node 16 for CI + devcontainer
This commit is contained in:
parent
57aa2e0f04
commit
5df67a0f3f
3 changed files with 7 additions and 6 deletions
|
@ -2,5 +2,5 @@
|
||||||
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
|
// README at: https://github.com/devcontainers/templates/tree/main/src/typescript-node
|
||||||
{
|
{
|
||||||
"name": "@actions/download-artifact",
|
"name": "@actions/download-artifact",
|
||||||
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-18"
|
"image": "mcr.microsoft.com/devcontainers/typescript-node:0-16"
|
||||||
}
|
}
|
||||||
|
|
6
.github/workflows/check-dist.yml
vendored
6
.github/workflows/check-dist.yml
vendored
|
@ -24,10 +24,10 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node 18
|
- name: Setup Node 16
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 16.x
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
|
@ -46,7 +46,7 @@ jobs:
|
||||||
id: diff
|
id: diff
|
||||||
|
|
||||||
# If index.js was different than expected, upload the expected version as an artifact
|
# 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' }}
|
if: ${{ failure() && steps.diff.conclusion == 'failure' }}
|
||||||
with:
|
with:
|
||||||
name: dist
|
name: dist
|
||||||
|
|
5
.github/workflows/test.yml
vendored
5
.github/workflows/test.yml
vendored
|
@ -23,10 +23,11 @@ jobs:
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
|
|
||||||
- name: Setup Node 18
|
# using node 16 since that is what the latest version of the runner ships with
|
||||||
|
- name: Setup Node 16
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 16.x
|
||||||
cache: 'npm'
|
cache: 'npm'
|
||||||
|
|
||||||
- name: npm install
|
- name: npm install
|
||||||
|
|
Loading…
Reference in a new issue