Skip to content

Commit

Permalink
v2.3.1: Add purge cache action
Browse files Browse the repository at this point in the history
  • Loading branch information
manuelmhtr committed Aug 29, 2020
1 parent a93fef2 commit 3caa3ef
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 4 deletions.
15 changes: 15 additions & 0 deletions .github/workflows/purge-cache.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: tests

on:
push:
branches:
- master

jobs:
purge-cache:
runs-on: ubuntu-latest
steps:
- name: curl
uses: wei/curl@v1
with:
args: https://purge.jsdelivr.net/gh/manuelmhtr/countries-and-timezones@latest/dist/index.js
5 changes: 3 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
name: tests
on: [push, pull_request]

on: push

jobs:
test:

runs-on: ${{ matrix.os }}
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.x, 12.x, 13.x, 14.x]
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Add the following script to your project (only ~9kb):

```html
<!-- Latest version -->
<script src="https://cdn.jsdelivr.net/gh/manuelmhtr/countries-and-timezones/dist/index.js" type="text/javascript"></script>
<script src="https://cdn.jsdelivr.net/gh/manuelmhtr/countries-and-timezones@latest/dist/index.js" type="text/javascript"></script>

<!-- Or specify a version -->
<script src="https://cdn.jsdelivr.net/gh/manuelmhtr/[email protected]/dist/index.js" type="text/javascript"></script>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "countries-and-timezones",
"version": "2.3.0",
"version": "2.3.1",
"description": "Minimalistic library to work with countries and timezones data.",
"main": "dist/index.js",
"files": [
Expand Down

0 comments on commit 3caa3ef

Please sign in to comment.