diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 02938265..0c370758 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -16,13 +16,13 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node }} + - name: Use Node.js ${{ matrix.node }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} - - run: npm ci - - run: npm run build - - run: npm run start -- --help + - run: npm ci + - run: npm run build + - run: npm run start -- --help diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 2924e9aa..f5da1e52 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,12 +17,12 @@ jobs: check: [check-compiled-i18n, check-source-formatting, check-types, lint] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node }} + - name: Use Node.js ${{ matrix.node }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} - - run: npm ci - - run: npm run ${{ matrix.check }} + - run: npm ci + - run: npm run ${{ matrix.check }} diff --git a/.github/workflows/publish-rolling.yml b/.github/workflows/publish-rolling.yml index 2fd84603..57bc91ce 100644 --- a/.github/workflows/publish-rolling.yml +++ b/.github/workflows/publish-rolling.yml @@ -14,23 +14,23 @@ jobs: node: [14] steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node }} - registry-url: 'https://registry.npmjs.org' + - name: Use Node.js ${{ matrix.node }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} + registry-url: 'https://registry.npmjs.org' - - run: npm ci + - run: npm ci - - name: Tag rolling release - run: | - npm version --no-git-tag-version 0.0.0-master.`git rev-parse --short HEAD` - - name: Use @${{ github.actor }} scope - run: | - jq '.name = "@${{ github.actor }}/flood"' package.json > package.new.json - mv package.new.json package.json - - run: npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Tag rolling release + run: | + npm version --no-git-tag-version 0.0.0-master.`git rev-parse --short HEAD` + - name: Use @${{ github.actor }} scope + run: | + jq '.name = "@${{ github.actor }}/flood"' package.json > package.new.json + mv package.new.json package.json + - run: npm publish --access public + env: + NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 4e15565b..f6dafe26 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -16,14 +16,14 @@ jobs: fail-fast: false steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v2 - - name: Use Node.js ${{ matrix.node }} - uses: actions/setup-node@v1 - with: - node-version: ${{ matrix.node }} + - name: Use Node.js ${{ matrix.node }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node }} - - run: npm ci - - run: npm run build - - run: npm run start -- --help - - run: npm test + - run: npm ci + - run: npm run build + - run: npm run start -- --help + - run: npm test diff --git a/.prettierignore b/.prettierignore index 7f6f64cf..e2945e0a 100644 --- a/.prettierignore +++ b/.prettierignore @@ -1,6 +1,3 @@ -# Hidden folders -.*/ - # Markdown and HTML *.md *.html