From 9e6dfc3dd828efa2c74e7608b4b9d4eb7843fe1e Mon Sep 17 00:00:00 2001 From: dvirtz Date: Thu, 24 Sep 2020 23:31:17 +0300 Subject: [PATCH] add setup-node action --- .github/workflows/master.yml | 5 +++++ .gitignore | 1 + 2 files changed, 6 insertions(+) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index 511ae78..4b4f797 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -22,6 +22,11 @@ jobs: # see https://stackoverflow.com/a/60184319/9285308 & https://github.com/actions/checkout fetch-depth: "0" + - uses: actions/setup-node@v1 + with: + node-version: '${{ matrix.node-version }}' + registry-url: 'https://registry.npmjs.org' + # pulls all tags (needed for lerna to correctly version) - run: git fetch --depth=1 origin +refs/tags/*:refs/tags/* # see https://stackoverflow.com/a/60184319/9285308 diff --git a/.gitignore b/.gitignore index 20de930..420d03c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ node_modules/ .vscode/ +.act/