We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e0d189b commit afae90bCopy full SHA for afae90b
.github/actions/setup/action.yml
@@ -0,0 +1,18 @@
1
+name: Setup
2
+description: Setup Node.js and install dependencies
3
+
4
+runs:
5
+ using: composite
6
+ steps:
7
+ - name: Use Node.js 18.x
8
+ uses: actions/setup-node@v4
9
+ with:
10
+ node-version: 18.x
11
12
+ - name: Enable corepack
13
+ run: corepack enable
14
+ shell: bash
15
16
+ - name: Install dependencies
17
+ run: yarn --immutable
18
.github/workflows/deploy.yml
@@ -8,5 +8,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- - name: Echo
- run: echo "Hello, world!"
+ - name: Checkout
+ uses: actions/checkout@v4
+ - name: Setup
+ uses: ./.github/actions/setup
0 commit comments