Skip to content

Update README.md

Update README.md #19

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ "main" ]
pull_request:
branches: [ "main" ]
env:
LANG: "pt_BR.UTF-8"
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Set locale and timezone
run: |
sudo locale-gen pt_BR.UTF-8
sudo update-locale LANG=pt_BR.UTF-8
sudo ln -s -f /usr/share/zoneinfo/Ameria/Sao_Paulo /etc/localtime
- uses: actions/checkout@v3
- uses: szenius/set-timezone@v1.2
with:
timezoneLinux: "Brazil/East"
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
- run: yarn install --frozen-lockfile
- run: yarn test