Bump word-wrap from 1.2.3 to 1.2.4 in /packages/junokit/sample-project/frontend #160
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests on push | |
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
branches: | |
- master | |
jobs: | |
tests: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Setup Node | |
uses: actions/setup-node@v2-beta | |
with: | |
node-version: '14.17.0' | |
- name: Cache Node.js modules | |
uses: actions/cache@v2 | |
with: | |
# npm cache files are stored in `~/.npm` on Linux/macOS | |
path: ~/.npm | |
key: ${{ runner.OS }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.OS }}-node- | |
${{ runner.OS }}- | |
- name: Install | |
run: yarn install | |
- run: | | |
curl --proto '=https' --tlsv1.2 -sSf -y https://sh.rustup.rs | sh | |
export PATH="${HOME}/.cargo/bin:${PATH}" | |
rustup default stable | |
rustup target list --installed | |
rustup target add wasm32-unknown-unknown | |
sudo apt install build-essential | |
- name: Execute lint | |
run: yarn lint | |
- run: yarn build | |
- name: Execute tests | |
run: yarn run test | |