mirror of
https://github.com/sobolevn/awesome-cryptography.git
synced 2026-07-20 04:45:25 -05:00
Moves to GitHub Actions
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
name: test
|
||||
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- master
|
||||
pull_request:
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: '14'
|
||||
|
||||
- name: Set up cache
|
||||
uses: actions/cache@v2
|
||||
with:
|
||||
path: node_modules
|
||||
key: env-${{ hashFiles('yarn.lock') }}
|
||||
|
||||
- name: "Install deps"
|
||||
run: yarn install
|
||||
|
||||
- name: "Test"
|
||||
run: yarn test
|
||||
Reference in New Issue
Block a user