Skip to content

Commit 377c08d

Browse files
committed
Node 18
1 parent a85dbfe commit 377c08d

File tree

6 files changed

+9887
-5313
lines changed

6 files changed

+9887
-5313
lines changed

.github/workflows/build.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Build
2+
3+
on: [push, pull_request]
4+
5+
jobs:
6+
tests:
7+
runs-on: ubuntu-latest
8+
steps:
9+
- uses: actions/checkout@v2
10+
- uses: actions/setup-node@v2
11+
with:
12+
node-version-file: ".node-version"
13+
14+
- uses: actions/cache@v2
15+
with:
16+
path: ~/.npm
17+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
18+
restore-keys: |
19+
${{ runner.os }}-node-
20+
21+
- run: npm ci
22+
23+
- run: npm test

.node-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
18

.travis.yml

-9
This file was deleted.

README.md

+1-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# reduce-css-calc
22

3-
[![Build Status](https://travis-ci.org/MoOx/reduce-css-calc.svg)](https://travis-ci.org/MoOx/reduce-css-calc)
4-
3+
[![Build Status](https://github.com/MoOx/reduce-css-calc/workflows/Build/badge.svg)](https://github.com/MoOx/reduce-css-calc/actions)
54
> Reduce CSS calc() function to the maximum.
65
76
Particularly useful for packages like [rework-calc](https://github.com/reworkcss/rework-calc) or [postcss-calc](https://github.com/postcss/postcss-calc).

0 commit comments

Comments
 (0)