Skip to content
This repository has been archived by the owner on May 25, 2023. It is now read-only.

Commit

Permalink
fix(actions): removed failing production cache and updated npm to yar…
Browse files Browse the repository at this point in the history
…n compatible lockfiles (#1012)
  • Loading branch information
0-vortex committed May 21, 2021
1 parent 23233c2 commit 6b80a2d
Showing 1 changed file with 10 additions and 18 deletions.
28 changes: 10 additions & 18 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,30 +10,22 @@ jobs:
build:
name: 🛠 BUILD
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x]

steps:
- uses: actions/checkout@v2
- name: Cache node modules
uses: actions/cache@v2
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
node-version: '14.x'

- name: Install npm@7
run: npm i -g npm@7

- name: npm install and test
run: |
npm ci
npm test
env:
CI: true
release:
name: 💍 Semantic Release
Expand Down

1 comment on commit 6b80a2d

@mtfoley
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Woot! On to react 17!

Please sign in to comment.